@Retention(value=RUNTIME)
@Target(value=PARAMETER)
public @interface Parameter
Modifier and Type | Fields and Description |
---|---|
static java.lang.String |
UNSPECIFIED |
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
absentValue
The default value of the parameter if its name is not present on the
command line.
|
java.lang.String[] |
names
Parameter name and aliases which must start with the hyphen character.
|
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
presentValue
The default value of the parameter if its name is present on the
command line.
|
public abstract java.lang.String[] names
public abstract java.lang.String absentValue
public abstract java.lang.String presentValue