|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=FIELD) public @interface Parameter
Optional Element Summary | |
---|---|
int |
arity
How many parameter values this parameter will consume. |
Class<? extends IStringConverter<?>> |
converter
The string converter to use for this field. |
String |
description
A description of this option. |
String |
descriptionKey
The key used to find the string in the message bundle. |
boolean |
hidden
If true, this parameter won't appear in the usage(). |
String[] |
names
An array of allowed command line parameters (e.g. |
boolean |
password
If true, this parameter is a password and it will be prompted on the console (if available). |
boolean |
required
Whether this option is required. |
Class<? extends IParameterValidator> |
validateWith
The validation class to use. |
public abstract String[] names
public abstract String description
public abstract boolean required
public abstract String descriptionKey
public abstract int arity
public abstract boolean password
public abstract Class<? extends IStringConverter<?>> converter
public abstract boolean hidden
public abstract Class<? extends IParameterValidator> validateWith
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |