Package com.beust.jcommander
Annotation Type DynamicParameter
-
@Retention(RUNTIME) @Target(FIELD) public @interface DynamicParameter
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringassignmentThe character(s) used to assign the values.java.lang.StringdescriptionA description of this option.java.lang.StringdescriptionKeyThe key used to find the string in the message bundle.booleanhiddenIf true, this parameter won't appear in the usage().java.lang.String[]namesAn array of allowed command line parameters (e.g.intorderIf specified, this number will be used to order the description of this parameter when usage() is invoked.booleanrequiredWhether this option is required.java.lang.Class<? extends IValueValidator>[]validateValueWithjava.lang.Class<? extends IParameterValidator>[]validateWithThe validation classes to use.
-
-
-
-
hidden
boolean hidden
If true, this parameter won't appear in the usage().- Default:
- false
-
-
-
validateWith
java.lang.Class<? extends IParameterValidator>[] validateWith
The validation classes to use.- Default:
- {com.beust.jcommander.validators.NoValidator.class}
-
-
-
validateValueWith
java.lang.Class<? extends IValueValidator>[] validateValueWith
- Default:
- {com.beust.jcommander.validators.NoValueValidator.class}
-
-