| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String[] | depends()
Implements org. List of other options that this option depends on. |
| public String[] | forbids()
Implements org. List of other options that this option is incompatible with.. |
| public String |
| depends | back to summary |
|---|---|
| public String[] depends | |
| forbids | back to summary |
|---|---|
| public String[] forbids | |
| name | back to summary |
|---|---|
| public String name | |
| OptionImpl | back to summary |
|---|---|
| public OptionImpl(ConfigElement ce) throws ClassNotFoundException | |
| depends | back to summary |
|---|---|
| public String[] depends() Implements org. Doc from org. List of other options that this option depends on. Example
@Option(name="-a")
int a;
//-b is not required but if it's provided, then a becomes required
@Option(name="-b", depends={"-a"})
int b;
At the end of | |
| forbids | back to summary |
|---|---|
| public String[] forbids() Implements org. Doc from org. List of other options that this option is incompatible with.. Example
@Option(name="-a")
int a;
// -h and -a cannot be specified together
@Option(name="-h", forbids={"-a"})
boolean h;
At the end of | |
| name | back to summary |
|---|---|
| public String name() Implements org. Doc from org. Name of the option, such as | |