Class VolumeManager

java.lang.Object
com.sshtools.volman.app.VolumeManager
All Implemented Interfaces:
Callable<Integer>

public class VolumeManager extends Object implements Callable<Integer>
  • Constructor Details

    • VolumeManager

      public VolumeManager()
  • Method Details

    • find

      public static VolumeManager find(picocli.CommandLine cmd)
    • getTerminal

      public com.sshtools.sequins.Terminal getTerminal()
      Get a terminal that can be used with a Sequence to build slightly prettier console output, or to get input.

      The terminal implementation will be lazily created. If there is implementation for this OS, a fallback will be returned that has a fixed with of 80 characters.

      Returns:
      terminal
    • getManagerContext

      public com.sshtools.volman.core.ManagerContext getManagerContext()
    • call

      public Integer call() throws Exception
      Specified by:
      call in interface Callable<Integer>
      Throws:
      Exception
    • isVerbose

      public boolean isVerbose()
    • main

      public static void main(String[] args)