Class IdAShellCmdAdminCreate
java.lang.Object
com.io7m.idstore.shell.admin.internal.IdAShellCmdAbstract
com.io7m.idstore.shell.admin.internal.IdAShellCmdAbstractCR<IdACommandAdminCreate,IdAResponseAdminCreate>
com.io7m.idstore.shell.admin.internal.IdAShellCmdAdminCreate
- All Implemented Interfaces:
IdAShellCmdType
,com.io7m.quarrel.core.QCommandOrGroupType
,com.io7m.quarrel.core.QCommandType
public final class IdAShellCmdAdminCreate
extends IdAShellCmdAbstractCR<IdACommandAdminCreate,IdAResponseAdminCreate>
"admin-create"
-
Constructor Summary
ConstructorDescriptionIdAShellCmdAdminCreate
(com.io7m.repetoir.core.RPServiceDirectoryType inServices) Construct a command. -
Method Summary
Modifier and TypeMethodDescriptionprotected IdACommandAdminCreate
onCreateCommand
(com.io7m.quarrel.core.QCommandContextType context) protected void
onFormatResponse
(com.io7m.quarrel.core.QCommandContextType context, IdAResponseAdminCreate response) List
<com.io7m.quarrel.core.QParameterNamedType<?>> Methods inherited from class com.io7m.idstore.shell.admin.internal.IdAShellCmdAbstractCR
onExecute
Methods inherited from class com.io7m.idstore.shell.admin.internal.IdAShellCmdAbstract
client, completer, formatter, metadata, options, services, terminal, 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
onListPositionalParameters
-
Constructor Details
-
IdAShellCmdAdminCreate
public IdAShellCmdAdminCreate(com.io7m.repetoir.core.RPServiceDirectoryType inServices) Construct a command.- Parameters:
inServices
- The service directory
-
-
Method Details
-
onListNamedParameters
-
onCreateCommand
protected IdACommandAdminCreate onCreateCommand(com.io7m.quarrel.core.QCommandContextType context) throws Exception - Specified by:
onCreateCommand
in classIdAShellCmdAbstractCR<IdACommandAdminCreate,
IdAResponseAdminCreate> - Throws:
Exception
-
onFormatResponse
protected void onFormatResponse(com.io7m.quarrel.core.QCommandContextType context, IdAResponseAdminCreate response) - Specified by:
onFormatResponse
in classIdAShellCmdAbstractCR<IdACommandAdminCreate,
IdAResponseAdminCreate>
-