Serialized Form
-
Package com.aspectran.shell.command
-
Class com.aspectran.shell.command.ConsoleTerminatedException extends com.aspectran.core.context.AspectranRuntimeException implements Serializable
- serialVersionUID:
- -8812494142589655857L
-
-
Package com.aspectran.shell.command.option
-
Class com.aspectran.shell.command.option.AlreadySelectedException extends OptionParserException implements Serializable
- serialVersionUID:
- -1818262614499753083L
-
Serialized Fields
-
group
OptionGroup group
The option group selected. -
option
Option option
The option that triggered the exception.
-
-
Class com.aspectran.shell.command.option.AmbiguousOptionException extends UnrecognizedOptionException implements Serializable
- serialVersionUID:
- 7582734904376616120L
-
Serialized Fields
-
matchingOptions
java.util.Collection<java.lang.String> matchingOptions
The list of options matching the partial name specified
-
-
Class com.aspectran.shell.command.option.MissingArgumentException extends OptionParserException implements Serializable
- serialVersionUID:
- 3097819241980741135L
-
Serialized Fields
-
option
Option option
The option requiring additional arguments
-
-
Class com.aspectran.shell.command.option.MissingOptionException extends OptionParserException implements Serializable
- serialVersionUID:
- -3648528884089184961L
-
Serialized Fields
-
missingOptions
java.util.List<?> missingOptions
The list of missing options and groups
-
-
Class com.aspectran.shell.command.option.Option extends java.lang.Object implements Serializable
- serialVersionUID:
- -7707766888283034409L
-
Serialized Fields
-
argName
java.lang.String argName
The name of the argument for this option -
description
java.lang.String description
Description of the option -
longOpt
java.lang.String longOpt
The long representation of the option -
numberOfArgs
int numberOfArgs
The number of argument values this option can have -
opt
java.lang.String opt
The name of the option -
optionalArg
boolean optionalArg
Specifies whether the argument value of this Option is optional -
required
boolean required
Specifies whether this option is required to be present -
values
java.util.List<java.lang.String> values
The list of argument values -
valueSeparator
char valueSeparator
The character that is the value separator -
valueType
OptionValueType valueType
The type of this Option
-
-
Class com.aspectran.shell.command.option.OptionGroup extends java.lang.Object implements Serializable
- serialVersionUID:
- 5281255012541670780L
-
Serialized Fields
-
optionMap
java.util.Map<java.lang.String,Option> optionMap
Hold the options -
required
boolean required
Specified whether this group is required -
selected
java.lang.String selected
The name of the selected option
-
-
Class com.aspectran.shell.command.option.OptionParserException extends java.lang.Exception implements Serializable
- serialVersionUID:
- -8387597753242192122L
-
Class com.aspectran.shell.command.option.Options extends java.lang.Object implements Serializable
- serialVersionUID:
- -6416293453155205092L
-
Serialized Fields
-
longOpts
java.util.Map<java.lang.String,Option> longOpts
A map of the options with the long key -
optionGroups
java.util.Map<java.lang.String,OptionGroup> optionGroups
A map of the option groups -
requiredOpts
java.util.List<java.lang.Object> requiredOpts
A map of the required options -
shortOpts
java.util.Map<java.lang.String,Option> shortOpts
A map of the options with the character key
-
-
Class com.aspectran.shell.command.option.ParsedOptions extends java.lang.Object implements Serializable
- serialVersionUID:
- -875791688751934582L
-
Serialized Fields
-
args
java.util.List<java.lang.String> args
The unrecognized options/arguments -
options
java.util.List<Option> options
The processed options
-
-
Class com.aspectran.shell.command.option.UnrecognizedOptionException extends OptionParserException implements Serializable
- serialVersionUID:
- 4662457863100554595L
-
Serialized Fields
-
option
java.lang.String option
The unrecognized option
-
-