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, CAShellCmdSyntaxList, CAShellCmdSyntaxShow, CAShellCmdTypePackageSchema, CAShellCmdVersion
The abstract command implementation.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCAShellCmdAbstract(com.io7m.repetoir.core.RPServiceDirectoryType inServices, com.io7m.quarrel.core.QCommandMetadata inMetadata) Construct a command. -
Method Summary
Modifier and TypeMethodDescriptionprotected final CAClientTypeclient()protected final Durationprotected final CAFormatterTypeprotected final Durationprotected final CAShellLoginTrackerfinal com.io7m.quarrel.core.QCommandMetadatametadata()protected final CAShellOptionsoptions()protected final CAPreferencesServiceTypeprotected final voidsetCommandTimeoutRecent(Duration inCommandTimeoutRecent) protected final voidsetLoginTimeoutRecent(Duration inLoginTimeoutRecent) protected final CAStringsstrings()protected final org.jline.terminal.Terminalterminal()final StringtoString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface CAShellCmdType
completerMethods inherited from interface com.io7m.quarrel.core.QCommandOrGroupType
isHiddenMethods inherited from interface com.io7m.quarrel.core.QCommandType
onExecute, onListNamedParameters, onListPositionalParameters
-
Constructor Details
-
CAShellCmdAbstract
protected CAShellCmdAbstract(com.io7m.repetoir.core.RPServiceDirectoryType inServices, com.io7m.quarrel.core.QCommandMetadata inMetadata) Construct a command.- Parameters:
inServices- The service directoryinMetadata- The metadata
-
-
Method Details
-
client
-
preferences
-
options
-
loginTracker
-
strings
-
loginTimeout
-
commandTimeout
-
setLoginTimeoutRecent
-
setCommandTimeoutRecent
-
toString
-
metadata
public final com.io7m.quarrel.core.QCommandMetadata metadata()- Specified by:
metadatain interfacecom.io7m.quarrel.core.QCommandOrGroupType
-
terminal
protected final org.jline.terminal.Terminal terminal() -
formatter
-