Package com.beust.jcommander
Class WrappedParameter
java.lang.Object
com.beust.jcommander.WrappedParameter
Encapsulates the operations common to @Parameter and @DynamicParameter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addValue
(Parameterized parameterized, Object object, Object value) void
addValue
(Parameterized parameterized, Object object, Object value, Field field) int
arity()
category()
boolean
boolean
hidden()
boolean
isHelp()
boolean
String[]
names()
int
order()
boolean
password()
boolean
required()
Class<? extends IValueValidator>[]
Class<? extends IParameterValidator>[]
boolean
-
Constructor Details
-
WrappedParameter
-
WrappedParameter
-
-
Method Details
-
getParameter
-
getDynamicParameter
-
arity
public int arity() -
required
public boolean required() -
password
public boolean password() -
names
-
variableArity
public boolean variableArity() -
order
public int order() -
category
-
validateWith
-
validateValueWith
-
echoInput
public boolean echoInput() -
addValue
-
addValue
public void addValue(Parameterized parameterized, Object object, Object value, Field field) throws IllegalAccessException - Throws:
IllegalAccessException
-
getAssignment
-
isHelp
public boolean isHelp() -
isNonOverwritableForced
public boolean isNonOverwritableForced()
-