Top Methods
com.beust.jcommander

public @Interface DynamicParameter

extends Annotation
Annotations
@Retention:RUNTIME
@Target:FIELD
Static Imports
java.lang.annotation.ElementType.FIELD

Method Summary

Modifier and TypeMethod and Description
public String
assignment()

The character(s) used to assign the values.

public String
description()

A description of this option.

public String
descriptionKey()

The key used to find the string in the message bundle.

public boolean
hidden()

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

public String[]
names()

An array of allowed command line parameters (e.g. "-D", "--define", etc...).

public int
order()

If specified, this number will be used to order the description of this parameter when usage() is invoked.

public boolean
required()

Whether this option is required.

public Class<? extends IValueValidator<T>>[]
public Class<? extends IParameterValidator>[]
validateWith()

The validation classes to use.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

assignmentback to summary
public String assignment()

The character(s) used to assign the values.

descriptionback to summary
public String description()

A description of this option.

descriptionKeyback to summary
public String descriptionKey()

The key used to find the string in the message bundle.

hiddenback to summary
public boolean hidden()

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

namesback to summary
public String[] names()

An array of allowed command line parameters (e.g. "-D", "--define", etc...).

orderback to summary
public int order()

If specified, this number will be used to order the description of this parameter when usage() is invoked.

requiredback to summary
public boolean required()

Whether this option is required.

validateValueWithback to summary
public Class<? extends IValueValidator<T>>[] validateValueWith()
validateWithback to summary
public Class<? extends IParameterValidator>[] validateWith()

The validation classes to use.