|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) public @interface ArgumentClass
Used to mark a variable as a set of other options. If a class A
contains the following code:
class A {
...
@ArgumentClass
OptionsClass aClass;
...
}
Calling ArgParser.addOptions(Object) with argument an instance
of class A, will add the options of object OptionsClass
.
The object will be created with the default constructor if not inialised
Optional Element Summary | |
---|---|
boolean |
activated
The defaut activated value |
String |
group
The default group for the options |
String |
help
The help for this set of options |
String |
prefix
Default prefix to add to the options |
boolean |
required
Is the arguments in this class required? The semantics is as follows. |
public abstract String group
public abstract boolean activated
public abstract String prefix
public abstract boolean required
public abstract String help
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |