Uses of Interface
gov.nist.secauto.metaschema.cli.processor.ExitStatus
Packages that use ExitStatus
Package
Description
-
Uses of ExitStatus in gov.nist.secauto.metaschema.cli.processor
Classes in gov.nist.secauto.metaschema.cli.processor that implement ExitStatusModifier 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.Methods in gov.nist.secauto.metaschema.cli.processor that return ExitStatusModifier 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.Methods in gov.nist.secauto.metaschema.cli.processor with parameters of type ExitStatusModifier 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
Methods in gov.nist.secauto.metaschema.cli.processor.command that return ExitStatusModifier and TypeMethodDescriptionCommandExecutionException.toExitStatus()
Generate anExitStatus
based on this exception.