Package com.io7m.cardant.shell.internal
Class CAShellCmdAbstractCR<C extends CAICommandType<R>,R extends CAIResponseType>
java.lang.Object
com.io7m.cardant.shell.internal.CAShellCmdAbstract
com.io7m.cardant.shell.internal.CAShellCmdAbstractCR<C,R>
- Type Parameters:
C- The command typeR- The response type
- All Implemented Interfaces:
CAShellCmdType,com.io7m.quarrel.core.QCommandOrGroupType,com.io7m.quarrel.core.QCommandType
- Direct Known Subclasses:
CAShellCmdAuditSearchBegin,CAShellCmdAuditSearchNext,CAShellCmdAuditSearchPrevious,CAShellCmdFileSearchBegin,CAShellCmdFileSearchNext,CAShellCmdFileSearchPrevious,CAShellCmdItemAttachmentAdd,CAShellCmdItemAttachmentRemove,CAShellCmdItemCreate,CAShellCmdItemGet,CAShellCmdItemMetadataPut,CAShellCmdItemMetadataRemove,CAShellCmdItemRepositAdd,CAShellCmdItemRepositMove,CAShellCmdItemRepositRemove,CAShellCmdItemSearchBegin,CAShellCmdItemSearchNext,CAShellCmdItemSearchPrevious,CAShellCmdItemTypesAssign,CAShellCmdItemTypesRevoke,CAShellCmdLocationAttachmentAdd,CAShellCmdLocationAttachmentRemove,CAShellCmdLocationGet,CAShellCmdLocationList,CAShellCmdLocationPut,CAShellCmdTypeDeclarationCreate,CAShellCmdTypeDeclarationFieldPut,CAShellCmdTypeDeclarationFieldRemove,CAShellCmdTypeDeclarationGet,CAShellCmdTypeDeclarationSearchBegin,CAShellCmdTypeDeclarationSearchNext,CAShellCmdTypeDeclarationSearchPrevious,CAShellCmdTypeScalarGet,CAShellCmdTypeScalarPut,CAShellCmdTypeScalarRemove,CAShellCmdTypeScalarSearchBegin,CAShellCmdTypeScalarSearchNext,CAShellCmdTypeScalarSearchPrevious
public abstract class CAShellCmdAbstractCR<C extends CAICommandType<R>,R extends CAIResponseType>
extends CAShellCmdAbstract
The abstract command implementation.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCAShellCmdAbstractCR(com.io7m.repetoir.core.RPServiceDirectoryType inServices, com.io7m.quarrel.core.QCommandMetadata inMetadata, Class<C> inCommandClass) Construct a command. -
Method Summary
Methods inherited from class com.io7m.cardant.shell.internal.CAShellCmdAbstract
client, formatter, loginTracker, metadata, options, preferences, strings, terminal, toStringMethods 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
-
CAShellCmdAbstractCR
protected CAShellCmdAbstractCR(com.io7m.repetoir.core.RPServiceDirectoryType inServices, com.io7m.quarrel.core.QCommandMetadata inMetadata, Class<C> inCommandClass) Construct a command.- Parameters:
inServices- The shell servicesinMetadata- The metadatainCommandClass- The command class
-
-
Method Details
-
completer
public final org.jline.reader.Completer completer()- Returns:
- A shell command completer for the command
-