public class StringAttribute extends ParameterizedAttribute
| Modifier and Type | Field and Description |
|---|---|
static ParameterType |
parameterTypeBoolean |
static ParameterType |
parameterTypeClass |
static ParameterType |
parameterTypeInteger |
static ParameterType |
parameterTypeString |
COMPARE_BIGGER, COMPARE_EQUAL, COMPARE_SMALLER, FULL_MATCH, IGNORE_WEIGHT, NO_MATCH, NORMAL_WEIGHT| Modifier | Constructor and Description |
|---|---|
protected |
StringAttribute() |
|
StringAttribute(String key,
String value) |
|
StringAttribute(String key,
String value,
String variableName) |
| Modifier and Type | Method and Description |
|---|---|
Attribute |
applyChanges(Serializable actual) |
ParameterizedAttribute |
applyVariableChange(String variableName) |
ParameterType |
getType() |
String |
getValue()
Beware that JAXB does not differentiate between empty string and null.
|
double |
match(Attribute other) |
getVariableNamepublic static final ParameterType parameterTypeString
public static final ParameterType parameterTypeClass
public static final ParameterType parameterTypeInteger
public static final ParameterType parameterTypeBoolean
public String 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.