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
ModifierConstructorDescriptionprotected
IdAShellCmdAbstract
(com.io7m.repetoir.core.RPServiceDirectoryType inServices, com.io7m.quarrel.core.QCommandMetadata inMetadata) -
Method Summary
Modifier and TypeMethodDescriptionprotected final IdAClientType
client()
final org.jline.reader.Completer
protected final IdAFormatterType
final com.io7m.quarrel.core.QCommandMetadata
metadata()
protected final IdAShellOptions
options()
protected final com.io7m.repetoir.core.RPServiceDirectoryType
services()
protected final org.jline.terminal.Terminal
terminal()
final String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.io7m.quarrel.core.QCommandOrGroupType
isHidden
Methods 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:
metadata
in 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:
completer
in interfaceIdAShellCmdType
- Returns:
- A shell command completer for the command
-