Class AbstractCommandExecutor
java.lang.Object
gov.nist.secauto.metaschema.cli.processor.command.AbstractCommandExecutor
- All Implemented Interfaces:
ICommandExecutor
-
Nested Class Summary
Nested classes/interfaces inherited from interface gov.nist.secauto.metaschema.cli.processor.command.ICommandExecutor
ICommandExecutor.ExecutionFunction
-
Constructor Summary
ConstructorDescriptionAbstractCommandExecutor
(CLIProcessor.CallingContext callingContext, org.apache.commons.cli.CommandLine commandLine) -
Method Summary
Modifier and TypeMethodDescriptionabstract void
execute()
protected CLIProcessor.CallingContext
protected ICommand
protected org.apache.commons.cli.CommandLine
-
Constructor Details
-
AbstractCommandExecutor
public AbstractCommandExecutor(@NonNull CLIProcessor.CallingContext callingContext, @NonNull org.apache.commons.cli.CommandLine commandLine)
-
-
Method Details
-
getCallingContext
-
getCommandLine
-
execute
- Specified by:
execute
in interfaceICommandExecutor
- Throws:
CommandExecutionException
-
getCommand
-