public class DefaultAttribute extends ParameterizedAttribute
| Modifier and Type | Field and Description |
|---|---|
static ParameterType |
parameterTypeAttribute |
COMPARE_BIGGER, COMPARE_EQUAL, COMPARE_SMALLER, FULL_MATCH, IGNORE_WEIGHT, NO_MATCH, NORMAL_WEIGHT| Modifier | Constructor and Description |
|---|---|
protected |
DefaultAttribute() |
|
DefaultAttribute(String key,
Serializable value) |
|
DefaultAttribute(String key,
Serializable value,
String variableName) |
| Modifier and Type | Method and Description |
|---|---|
Attribute |
applyChanges(Serializable actual) |
ParameterizedAttribute |
applyVariableChange(String variableName) |
ParameterType |
getType() |
Serializable |
getValue()
Beware that JAXB does not differentiate between empty string and null.
|
double |
match(Attribute other) |
getVariableNamepublic static final ParameterType parameterTypeAttribute
protected DefaultAttribute()
public DefaultAttribute(String key, Serializable value)
public DefaultAttribute(String key, Serializable value, String variableName)
public Serializable getValue()
Attributepublic Attribute applyChanges(Serializable actual)
applyChanges in class Attributepublic ParameterizedAttribute applyVariableChange(String variableName)
applyVariableChange in class ParameterizedAttributepublic ParameterType getType()
getType in class ParameterizedAttributeCopyright © 2018 ReTest GmbH. All rights reserved.