|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented @Retention(value=RUNTIME) @Target(value=FIELD) public @interface Option
Annotates a field to be assigned from values given on the command line. This annotation contains non-localized informations like the name or whatever the option is mandatory. This annotation does not contain the description to be printed when the user ask for help because such description is local-dependent. The description must be provided in a properties file under the following rules:
ResourceBundle class.name(), or the field name if no name is
explicitly given.
| utility/geotk-utility (download) | View source code for this class |
| Optional Element Summary | |
|---|---|
String[] |
examples
Examples of usage of this option. |
boolean |
mandatory
true if this option is mandatory. |
String |
name
The argument name. |
public abstract String name
"" for the default.public abstract boolean mandatory
true if this option is mandatory. Options are optional by default.
public abstract String[] examples
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||