Class IdAShellCmdAdminMaintenanceModeSet
java.lang.Object
com.io7m.idstore.shell.admin.internal.IdAShellCmdAbstract
com.io7m.idstore.shell.admin.internal.IdAShellCmdAbstractCR<IdACommandMaintenanceModeSet,IdAResponseMaintenanceModeSet>
com.io7m.idstore.shell.admin.internal.IdAShellCmdAdminMaintenanceModeSet
- All Implemented Interfaces:
IdAShellCmdType
,com.io7m.quarrel.core.QCommandOrGroupType
,com.io7m.quarrel.core.QCommandType
public final class IdAShellCmdAdminMaintenanceModeSet
extends IdAShellCmdAbstractCR<IdACommandMaintenanceModeSet,IdAResponseMaintenanceModeSet>
"maintenance-mode"
-
Constructor Summary
ConstructorDescriptionIdAShellCmdAdminMaintenanceModeSet
(com.io7m.repetoir.core.RPServiceDirectoryType inServices) Construct a command. -
Method Summary
Modifier and TypeMethodDescriptionprotected IdACommandMaintenanceModeSet
onCreateCommand
(com.io7m.quarrel.core.QCommandContextType context) protected void
onFormatResponse
(com.io7m.quarrel.core.QCommandContextType context, IdAResponseMaintenanceModeSet 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
-
IdAShellCmdAdminMaintenanceModeSet
public IdAShellCmdAdminMaintenanceModeSet(com.io7m.repetoir.core.RPServiceDirectoryType inServices) Construct a command.- Parameters:
inServices
- The service directory
-
-
Method Details
-
onListNamedParameters
-
onCreateCommand
protected IdACommandMaintenanceModeSet onCreateCommand(com.io7m.quarrel.core.QCommandContextType context) throws com.io7m.quarrel.core.QException - Specified by:
onCreateCommand
in classIdAShellCmdAbstractCR<IdACommandMaintenanceModeSet,
IdAResponseMaintenanceModeSet> - Throws:
com.io7m.quarrel.core.QException
-
onFormatResponse
protected void onFormatResponse(com.io7m.quarrel.core.QCommandContextType context, IdAResponseMaintenanceModeSet response) - Specified by:
onFormatResponse
in classIdAShellCmdAbstractCR<IdACommandMaintenanceModeSet,
IdAResponseMaintenanceModeSet>
-