Serialized Form


Package org.apache.commons.cli

Class org.apache.commons.cli.AlreadySelectedException extends ParseException implements Serializable

Serialized Fields

group

OptionGroup group
The option group selected.


option

Option option
The option that triggered the exception.

Class org.apache.commons.cli.CommandLine extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

args

java.util.List args
the unrecognised options/arguments


options

java.util.List options
the processed options

Class org.apache.commons.cli.MissingArgumentException extends ParseException implements Serializable

Serialized Fields

option

Option option
The option requiring additional arguments

Class org.apache.commons.cli.MissingOptionException extends ParseException implements Serializable

Serialized Fields

missingOptions

java.util.List missingOptions
The list of missing options

Class org.apache.commons.cli.Option extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

opt

java.lang.String opt
the name of the option


longOpt

java.lang.String longOpt
the long representation of the option


argName

java.lang.String argName
the name of the argument for this option


description

java.lang.String description
description of the option


required

boolean required
specifies whether this option is required to be present


optionalArg

boolean optionalArg
specifies whether the argument value of this Option is optional


numberOfArgs

int numberOfArgs
the number of argument values this option can have


type

java.lang.Object type
the type of this Option


values

java.util.List values
the list of argument values


valuesep

char valuesep
the character that is the value separator

Class org.apache.commons.cli.OptionGroup extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

optionMap

java.util.Map optionMap
hold the options


selected

java.lang.String selected
the name of the selected option


required

boolean required
specified whether this group is required

Class org.apache.commons.cli.Options extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

shortOpts

java.util.Map shortOpts
a map of the options with the character key


longOpts

java.util.Map longOpts
a map of the options with the long key


requiredOpts

java.util.List requiredOpts
a map of the required options


optionGroups

java.util.Map optionGroups
a map of the option groups

Class org.apache.commons.cli.ParseException extends java.lang.Exception implements Serializable

Class org.apache.commons.cli.UnrecognizedOptionException extends ParseException implements Serializable

Serialized Fields

option

java.lang.String option
The unrecognized option