Package | Description |
---|---|
org.springframework.boot.cli.command |
Command infrastructure for the CLI.
|
Modifier and Type | Method and Description |
---|---|
static CommandException.Option |
CommandException.Option.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandException.Option[] |
CommandException.Option.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Set<CommandException.Option> |
CommandException.getOptions()
Returns a set of options that are understood by the
CommandRunner . |
Constructor and Description |
---|
CommandException(CommandException.Option... options)
Create a new
CommandException with the specified options. |
CommandException(String message,
CommandException.Option... options)
Create a new
CommandException with the specified options. |
CommandException(String message,
Throwable cause,
CommandException.Option... options)
Create a new
CommandException with the specified options. |
CommandException(Throwable cause,
CommandException.Option... options)
Create a new
CommandException with the specified options. |