|
TUM CCSM Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Retention(value=RUNTIME) @Target(value=METHOD) public @interface AOption
Annotation for exposing methods as command line options. This should only be used with methods taking zero or one parameters.
Required Element Summary | |
---|---|
java.lang.String |
description
The description of this option used for usage messages. |
Optional Element Summary | |
---|---|
boolean |
greedy
If this is set to true, all non-option arguments following the annotated option are used for this option. |
java.lang.String |
longName
The optional long (i.e. multi-character) name of the option. |
char |
shortName
The optional short (i.e. single character) name of the option. |
Element Detail |
---|
public abstract java.lang.String description
public abstract char shortName
public abstract java.lang.String longName
public abstract boolean greedy
|
TUM CCSM Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |