Uses of Interface
gov.nist.secauto.metaschema.cli.processor.ExitStatus
Package
Description
-
Uses of ExitStatus in gov.nist.secauto.metaschema.cli.processor
Modifier and TypeClassDescriptionclass
Records information about the exit status of a CLI command.class
AnExitStatus
implementation with an associated message.class
AnExitStatus
implementation that represents a status without an associated message.Modifier and TypeMethodDescriptionExitCode.exit()
Exit without a message.ExitCode.exitMessage()
Exit with the associated message.ExitCode.exitMessage
(Object... messageArguments) Exit with the associated message and message arguments.CLIProcessor.CallingContext.handleError
(ExitStatus exitStatus, org.apache.commons.cli.CommandLine cmdLine, boolean showHelp) Handle an error that occurred while executing the command.CLIProcessor.CallingContext.handleInvalidCommand
(String message) Generate the help message and exit status for an invalid command using the provided message.Process a set of CLIProcessor arguments.CLIProcessor.CallingContext.processCommand()
Process the command identified by the CLI arguments.AbstractExitStatus.withThrowable
(Throwable throwable) ExitStatus.withThrowable
(Throwable throwable) Associate a throwable with the exit status.Modifier and TypeMethodDescriptionCLIProcessor.CallingContext.handleError
(ExitStatus exitStatus, org.apache.commons.cli.CommandLine cmdLine, boolean showHelp) Handle an error that occurred while executing the command. -
Uses of ExitStatus in gov.nist.secauto.metaschema.cli.processor.command
Modifier and TypeMethodDescriptionCommandExecutionException.toExitStatus()
Generate anExitStatus
based on this exception.