T
- The type of the object to test for acceptance. Has no effect on
the acceptancepublic class PropertyValueCondition<T> extends Object implements Condition<T>
Constructor and Description |
---|
PropertyValueCondition(String key,
String value,
PropertyResolver propertyResolver)
Initialize the condition with the provided key.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(T obj)
Check if the object is accepted or not.
|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
public PropertyValueCondition(String key, String value, PropertyResolver propertyResolver)
key
- The key of the propertyvalue
- The value of the propertypropertyResolver
- the property resolver used to get properties valuesCopyright © 2021. All rights reserved.