Class AbstractParentCommand
java.lang.Object
gov.nist.secauto.metaschema.cli.processor.command.AbstractParentCommand
- All Implemented Interfaces:
ICommand
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected final void
addCommandHandler
(ICommand handler) protected ExitStatus
executeCommand
(CLIProcessor.CallingContext callingContext, org.apache.commons.cli.CommandLine commandLine) getSubCommandByName
(String name) boolean
newExecutor
(CLIProcessor.CallingContext callingContext, org.apache.commons.cli.CommandLine cmdLine) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface gov.nist.secauto.metaschema.cli.processor.command.ICommand
gatherOptions, getDescription, getExtraArguments, getName, requiredExtraArgumentsCount, validateOptions
-
Constructor Details
-
AbstractParentCommand
-
-
Method Details
-
addCommandHandler
-
getSubCommandByName
- Specified by:
getSubCommandByName
in interfaceICommand
-
getSubCommands
- Specified by:
getSubCommands
in interfaceICommand
-
isSubCommandRequired
- Specified by:
isSubCommandRequired
in interfaceICommand
-
newExecutor
public ICommandExecutor newExecutor(CLIProcessor.CallingContext callingContext, org.apache.commons.cli.CommandLine cmdLine) - Specified by:
newExecutor
in interfaceICommand
-
executeCommand
@NonNull protected ExitStatus executeCommand(@NonNull CLIProcessor.CallingContext callingContext, @NonNull org.apache.commons.cli.CommandLine commandLine)
-