public class MatchesCondition extends KeyValueEqualsCondition
Constructor and Description |
---|
MatchesCondition(java.lang.String key,
boolean keyRegex,
java.lang.String value,
boolean valueRegex) |
Modifier and Type | Method and Description |
---|---|
boolean |
test(StateObj input) |
java.lang.String |
toString() |
getKey, getValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public MatchesCondition(java.lang.String key, boolean keyRegex, java.lang.String value, boolean valueRegex)
public boolean test(StateObj input)
test
in interface java.util.function.Predicate<StateObj>
test
in class KeyValueEqualsCondition
public java.lang.String toString()
toString
in class KeyValueEqualsCondition