Class CAShellCmdAbstract

java.lang.Object
com.io7m.cardant.shell.internal.CAShellCmdAbstract
All Implemented Interfaces:
CAShellCmdType, com.io7m.quarrel.core.QCommandOrGroupType, com.io7m.quarrel.core.QCommandType
Direct Known Subclasses:
CAShellCmdAbstractCR, CAShellCmdBookmarkList, CAShellCmdBookmarkLogin, CAShellCmdBookmarkPut, CAShellCmdBookmarkRemove, CAShellCmdFileGet, CAShellCmdFilePut, CAShellCmdFilesRecent, CAShellCmdHelp, CAShellCmdLogin, CAShellCmdLogout, CAShellCmdRolesAssign, CAShellCmdRolesGet, CAShellCmdRolesRevoke, CAShellCmdSelf, CAShellCmdSet, CAShellCmdVersion

public abstract class CAShellCmdAbstract extends Object implements CAShellCmdType
The abstract command implementation.
  • Constructor Details

    • CAShellCmdAbstract

      protected CAShellCmdAbstract(com.io7m.repetoir.core.RPServiceDirectoryType inServices, com.io7m.quarrel.core.QCommandMetadata inMetadata)
      Construct a command.
      Parameters:
      inServices - The service directory
      inMetadata - The metadata
  • Method Details

    • client

      protected final CAClientSynchronousType client()
    • preferences

      protected final CAPreferencesServiceType preferences()
    • options

      protected final CAShellOptions options()
    • loginTracker

      protected final CAShellLoginTracker loginTracker()
    • strings

      protected final CAStrings strings()
    • toString

      public final String toString()
      Overrides:
      toString in class Object
    • metadata

      public final com.io7m.quarrel.core.QCommandMetadata metadata()
      Specified by:
      metadata in interface com.io7m.quarrel.core.QCommandOrGroupType
    • terminal

      protected final org.jline.terminal.Terminal terminal()
    • formatter

      protected final CAFormatterType formatter()