Modifier and Type | Class | Description |
---|---|---|
static class |
CommandLine.DuplicateNameException |
Exception indicating that multiple named elements have incorrectly used the same name.
|
static class |
CommandLine.DuplicateOptionAnnotationsException |
Exception indicating that multiple fields have been annotated with the same Option name.
|
static class |
CommandLine.ExecutionException |
Exception indicating a problem while invoking a command or subcommand.
|
static class |
CommandLine.InitializationException |
Exception indicating a problem during
CommandLine initialization. |
static class |
CommandLine.MaxValuesExceededException |
Exception indicating that more values were specified for an option or parameter than its
arity allows. |
static class |
CommandLine.MissingParameterException |
Exception indicating that a required parameter was not specified.
|
static class |
CommandLine.MissingTypeConverterException |
Exception indicating that an annotated field had a type for which no
CommandLine.ITypeConverter was
registered. |
static class |
CommandLine.MutuallyExclusiveArgsException |
Exception indicating that the user input included multiple arguments from a mutually exclusive group.
|
static class |
CommandLine.OverwrittenOptionException |
Exception indicating that an option for a single-value option field has been specified multiple times on the command line.
|
static class |
CommandLine.ParameterException |
Exception indicating something went wrong while parsing command line options.
|
static class |
CommandLine.ParameterIndexGapException |
Exception indicating that there was a gap in the indices of the fields annotated with
CommandLine.Parameters . |
static class |
CommandLine.TypeConversionException |
Exception thrown by
CommandLine.ITypeConverter implementations to indicate a String could not be converted. |
static class |
CommandLine.UnmatchedArgumentException |
Exception indicating that a command line argument could not be mapped to any of the fields annotated with
CommandLine.Option or CommandLine.Parameters . |
Modifier and Type | Method | Description |
---|---|---|
void |
CommandLine.ParseResult.Builder.addError(CommandLine.PicocliException ex) |
Modifier and Type | Method | Description |
---|---|---|
<T> T |
CommandLine.Model.ArgSpec.getValue() |
Returns the current value of this argument.
|
<T> T |
CommandLine.Model.ArgSpec.setValue(T newValue) |
Sets the value of this argument to the specified value and returns the previous value.
|
<T> T |
CommandLine.Model.ArgSpec.setValue(T newValue,
CommandLine commandLine) |
Deprecated.
use
CommandLine.Model.ArgSpec.setValue(Object) instead. This was a design mistake. |
Copyright © 2017–2019. All rights reserved.