|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Retention(value=RUNTIME) @Target(value=FIELD) public @interface Option
A command-line option.
Optional Element Summary | |
---|---|
String |
description
A description of this option to be printed when the --help option is provided. |
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 description
--help
option is provided.
""
for none.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |