Class IdAShellCmdAbstract
java.lang.Object
com.io7m.idstore.shell.admin.internal.IdAShellCmdAbstract
- All Implemented Interfaces:
IdAShellCmdType,com.io7m.quarrel.core.QCommandOrGroupType,com.io7m.quarrel.core.QCommandType
- Direct Known Subclasses:
IdAShellCmdAbstractCR,IdAShellCmdHelp,IdAShellCmdLogin,IdAShellCmdLogout,IdAShellCmdSet,IdAShellCmdVersion
The abstract base class for shell commands.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedIdAShellCmdAbstract(com.io7m.repetoir.core.RPServiceDirectoryType inServices, com.io7m.quarrel.core.QCommandMetadata inMetadata) -
Method Summary
Modifier and TypeMethodDescriptionprotected final IdAClientTypeclient()final org.jline.reader.Completerprotected final IdAFormatterTypefinal com.io7m.quarrel.core.QCommandMetadatametadata()protected final IdAShellOptionsoptions()protected final com.io7m.repetoir.core.RPServiceDirectoryTypeservices()protected final org.jline.terminal.Terminalterminal()final StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.io7m.quarrel.core.QCommandOrGroupType
isHiddenMethods inherited from interface com.io7m.quarrel.core.QCommandType
onExecute, onListNamedParameters, onListPositionalParameters
-
Constructor Details
-
IdAShellCmdAbstract
protected IdAShellCmdAbstract(com.io7m.repetoir.core.RPServiceDirectoryType inServices, com.io7m.quarrel.core.QCommandMetadata inMetadata)
-
-
Method Details
-
metadata
public final com.io7m.quarrel.core.QCommandMetadata metadata()- Specified by:
metadatain interfacecom.io7m.quarrel.core.QCommandOrGroupType
-
client
-
terminal
protected final org.jline.terminal.Terminal terminal() -
options
-
services
protected final com.io7m.repetoir.core.RPServiceDirectoryType services() -
formatter
-
toString
-
completer
public final org.jline.reader.Completer completer()- Specified by:
completerin interfaceIdAShellCmdType- Returns:
- A shell command completer for the command
-