@Retention(value=RUNTIME) @Target(value=FIELD) @Documented public @interface Option
Modifier and Type | Optional Element and Description |
---|---|
boolean |
common
Is this an Option common to all command line programs.
|
String |
doc
Text that appears for this option in text describing usage of the command line program.
|
int |
maxElements
The maximum number of times this option is allowed.
|
int |
minElements
The minimum number of times that this option is required.
|
String[] |
mutex
Array of option names that cannot be used in conjunction with this one.
|
boolean |
optional
If set to false, an exception will be thrown if the option is not specified.
|
boolean |
overridable
This boolean determines if this annotation overrides a parent annotation.
|
String |
shortName
The name of the option as it would appear on the command line.
|
public abstract String shortName
public abstract String doc
public abstract boolean optional
public abstract String[] mutex
public abstract int minElements
public abstract int maxElements
public abstract boolean common
public abstract boolean overridable