|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) public @interface Argument
Marks a field that should be accessible from the command line
To check integrity, use ArgumentPostProcessor
Optional Element Summary | |
---|---|
boolean[] |
activated
Is this option active by defaut (true by default)? |
Class<? extends ValueChecker>[] |
checkers
List of value checkers (see ValueChecker ) |
boolean |
displayDefault
Should the default value be displayed ? |
String |
group
The group the option belongs to |
Class<? extends Handler> |
handler
Fully qualified name of the wrapper object |
String |
help
The help string |
String |
id
The ID of the option in case one wants to refer to it |
String[] |
intervals
Deprecated. |
String[] |
name
How to use the option on the command line (each name will be prefixed by --) |
String[] |
names
Deprecated. |
String |
prefix
Prefix for sub-options |
boolean[] |
required
Is this option mandatory (false by default)? |
@Deprecated public abstract String[] names
public abstract String[] name
public abstract String help
public abstract String group
public abstract Class<? extends Handler> handler
public abstract boolean displayDefault
@Deprecated public abstract String[] intervals
public abstract Class<? extends ValueChecker>[] checkers
ValueChecker
)
public abstract boolean[] required
public abstract boolean[] activated
public abstract String id
public abstract String prefix
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |