Uses of Class
gov.nist.secauto.metaschema.cli.processor.CLIProcessor.CallingContext
-
Uses of CLIProcessor.CallingContext in gov.nist.secauto.metaschema.cli.processor.command
Modifier and TypeMethodDescriptionprotected CLIProcessor.CallingContext
AbstractCommandExecutor.getCallingContext()
Get the context of the command execution, which provides access to the execution environment needed for command processing.Modifier and TypeMethodDescriptionvoid
ICommandExecutor.ExecutionFunction.execute
(CLIProcessor.CallingContext callingContext, org.apache.commons.cli.CommandLine commandLine) Execute a command operation.AbstractParentCommand.newExecutor
(CLIProcessor.CallingContext callingContext, org.apache.commons.cli.CommandLine cmdLine) ICommand.newExecutor
(CLIProcessor.CallingContext callingContext, org.apache.commons.cli.CommandLine commandLine) Create a new executor for this command.static ICommandExecutor
ICommandExecutor.using
(CLIProcessor.CallingContext callingContext, org.apache.commons.cli.CommandLine commandLine, ICommandExecutor.ExecutionFunction function) Create a new command executor.default void
ICommand.validateExtraArguments
(CLIProcessor.CallingContext callingContext, org.apache.commons.cli.CommandLine commandLine) Validates that the provided extra arguments meet expectations.default void
ICommand.validateOptions
(CLIProcessor.CallingContext callingContext, org.apache.commons.cli.CommandLine commandLine) Validate the options provided on the command line based on what is required for this command.ModifierConstructorDescriptionprotected
AbstractCommandExecutor
(CLIProcessor.CallingContext callingContext, org.apache.commons.cli.CommandLine commandLine) Construct a new command executor.