@Documented @Retention(value=RUNTIME) @Target(value={METHOD,FIELD}) public @interface Option
| Modifier and Type | Optional Element and Description | 
|---|---|
| Class | convertA conversion closure to convert the incoming String into the desired object | 
| String | defaultValueThe default value for this option as a String; subject to type conversion and 'convert'. | 
| String | descriptionThe description of this option | 
| String | longNameThe long name of this option. | 
| int | numberOfArgumentsHow many arguments this option has. | 
| String | numberOfArgumentsStringHow many arguments this option has represented as a String. | 
| boolean | optionalArgWhether this option can have an optional argument. | 
| String | shortNameThe short name of this option. | 
| String | valueSeparatorThe value separator for this multi-valued option. | 
public abstract String description
public abstract String shortName
public abstract String longName
public abstract String valueSeparator
public abstract boolean optionalArg
public abstract int numberOfArguments
numberOfArgumentsString is set.public abstract String numberOfArgumentsString
numberOfArguments if set.
 The special values of '+' means one or more and '*' as 0 or more.public abstract String defaultValue
public abstract Class convert