@Documented @Retention(value=RUNTIME) @Target(value={FIELD,METHOD}) public @interface ByArgument
| Modifier and Type | Required Element and Description |
|---|---|
String |
documentation
The documentation for this option (put into the usage).
|
String |
mnemonic
A mnemonic to use as a place holder for the specified value for the documentation.
|
| Modifier and Type | Optional Element and Description |
|---|---|
Class<? extends TypeConverter> |
converter
A converter that will parse the string value into the correct type.
|
String[] |
longOpt
The long (two-dash, long string) option(s) for this parameter.
|
boolean |
required
Is this parameter required? If the annotated field/method is primitive, then it is always
required.
|
String[] |
shortOpt
The short (one-dash, one character) option(s) for this parameter.
|
public abstract String mnemonic
public abstract String documentation
public abstract String[] shortOpt
public abstract String[] longOpt
public abstract boolean required
public abstract Class<? extends TypeConverter> converter
Copyright © 2015. All rights reserved.