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
ConstructorsConstructorDescriptionAbstractCommandExecutor(CLIProcessor.CallingContext callingContext, org.apache.commons.cli.CommandLine commandLine) -
Method Summary
Modifier and TypeMethodDescriptionabstract ExitStatusexecute()protected CLIProcessor.CallingContextprotected ICommandprotected 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
@NonNull protected org.apache.commons.cli.CommandLine getCommandLine() -
execute
- Specified by:
executein interfaceICommandExecutor
-
getCommand
-