|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value={FIELD,PARAMETER,ANNOTATION_TYPE})
@Retention(value=RUNTIME)
public @interface OptionAn option command parameter.
| Required Element Summary | |
|---|---|
String[] |
names
The option names, when an option name has a single letter it will be used as a short switch, when it has two letters or more it is considered as a long switch. |
| Optional Element Summary | |
|---|---|
Class<? extends Completer> |
completer
The completer type to complete this option value. |
boolean |
unquote
Indicates whether or not the value should be unquoted. |
| Element Detail |
|---|
public abstract String[] names
public abstract boolean unquote
public abstract Class<? extends Completer> completer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||