|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Target(value=TYPE) public @interface Parameters
An annotation used to specify settings for parameter parsing.
| Optional Element Summary | |
|---|---|
String |
commandDescription
If the annotated class was added to JCommander as a command with
JCommander.addCommand(java.lang.String, java.lang.Object), then this string will be displayed in the
description when @{link JCommander#usage} is invoked. |
String |
commandDescriptionKey
|
String[] |
commandNames
An array of allowed command names. |
String |
optionPrefixes
What characters an option starts with. |
String |
resourceBundle
The name of the resource bundle to use for this class. |
String |
separators
The character(s) that separate options. |
public abstract String resourceBundle
public abstract String separators
public abstract String optionPrefixes
public abstract String commandDescription
JCommander as a command with
JCommander.addCommand(java.lang.String, java.lang.Object), then this string will be displayed in the
description when @{link JCommander#usage} is invoked.
public abstract String commandDescriptionKey
public abstract String[] commandNames
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||