public class CheckOptionWrapper<T> extends java.lang.Object
Constructor and Description |
---|
CheckOptionWrapper(CheckOption annotation,
java.lang.reflect.Field field,
T defaultValue,
java.lang.Class<T> type)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
T |
getDefaultValue()
Returns the option's default value.
|
java.lang.String |
getDescription()
Returns the option's description.
|
java.lang.reflect.Field |
getField()
Returns the option's field.
|
java.lang.String |
getName()
Returns the option's name.
|
java.lang.Class<T> |
getType()
Returns the option's type.
|
boolean |
isMultilineText()
Returns whether this option is multiline text.
|
void |
setOption(CheckImplementationBase implementation,
T value)
Set the option to the given value in the given check implementation instance.
|
public CheckOptionWrapper(CheckOption annotation, java.lang.reflect.Field field, T defaultValue, java.lang.Class<T> type)
public java.lang.String getName()
public java.lang.String getDescription()
public boolean isMultilineText()
public java.lang.reflect.Field getField()
public T getDefaultValue()
public void setOption(CheckImplementationBase implementation, T value)