@Retention(RUNTIME) @Target(TYPE) @Inherited public @interface Parameters
Modifier and Type | Optional Element | Description |
---|---|---|
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.
|
boolean |
hidden |
If true, this command won't appear in the usage().
|
String |
resourceBundle |
The name of the resource bundle to use for this class.
|
String |
separators |
The character(s) that separate options.
|
String resourceBundle
String separators
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.String commandDescriptionKey
String[] commandNames