public class VerbStepAttributeEqualPredicate extends VerbStepPredicate
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_NAME
Name of this class
|
static java.lang.String |
COPYRIGHT
IBM Copyright
|
Constructor and Description |
---|
VerbStepAttributeEqualPredicate(java.lang.String attributeName,
java.lang.Object attributeValue)
Constructs an instance of this predicate
|
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(java.lang.Object target)
Evaluates an object.
|
equals, getSymbol, getVariableName, getVariableValue, hashCode, toString
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASS_NAME
public VerbStepAttributeEqualPredicate(java.lang.String attributeName, java.lang.Object attributeValue)
attributeName
- the name of the attributeattributeValue
- the expected value of the attributepublic final boolean evaluate(java.lang.Object target)
evaluate
in class VerbStepPredicate
target
- the target object that is to be evaluated against the predicateVerbStepPredicate.evaluate(java.lang.Object)