@Documented @Retention(value=RUNTIME) @Target(value=METHOD) public @interface Option
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
description
The description of this option used for usage messages.
|
Modifier and Type | Optional Element and Description |
---|---|
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.
|
char |
shortName
The optional short (i.e.
|
public abstract java.lang.String description
public abstract char shortName
public abstract java.lang.String longName
public abstract boolean greedy