Top Description Methods
com.beust.jcommander

public @Interface Parameters

extends Annotation
Annotations
@Retention:RUNTIME
@Target:TYPE
@Inherited
Imports
java.lang.annotation.Inherited, .Retention, .Target

An annotation used to specify settings for parameter parsing.
Author
cbeust

Method Summary

Modifier and TypeMethod and Description
public String
commandDescription()

If the annotated class was added to JCommander as a command with JCommander#addCommand, then this string will be displayed in the description when JCommander#usage is invoked.

public String

Returns:

the key used to find the command description in the resource bundle.
commandDescriptionKey
()

public String[]
commandNames()

An array of allowed command names.

public boolean
hidden()

If true, this command won't appear in the usage().

public String
resourceBundle()

The name of the resource bundle to use for this class.

public String
separators()

The character(s) that separate options.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

commandDescriptionback to summary
public String commandDescription()

If the annotated class was added to JCommander as a command with JCommander#addCommand, then this string will be displayed in the description when JCommander#usage is invoked.

commandDescriptionKeyback to summary
public String commandDescriptionKey()
Returns:String

the key used to find the command description in the resource bundle.

commandNamesback to summary
public String[] commandNames()

An array of allowed command names.

hiddenback to summary
public boolean hidden()

If true, this command won't appear in the usage().

resourceBundleback to summary
public String resourceBundle()

The name of the resource bundle to use for this class.

separatorsback to summary
public String separators()

The character(s) that separate options.