public static class ConditionFactory.RegexpKeyValueRegexpCondition extends ConditionFactory.KeyValueRegexpCondition
Condition.Context, Condition.ToTagConvertable| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.regex.Pattern |
keyPattern |
pattern, SUPPORTED_OPSconsiderValAsKey, k, op, v| Constructor and Description |
|---|
RegexpKeyValueRegexpCondition(java.lang.String k,
java.lang.String v,
ConditionFactory.Op op)
Create a condition in which the key and the value need to match a given regexp
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
matches(Environment env) |
boolean |
requiresExactKeyMatch()
Determines if this condition requires an exact key match.
|
appliesasTag, toStringfinal java.util.regex.Pattern keyPattern
public RegexpKeyValueRegexpCondition(java.lang.String k, java.lang.String v, ConditionFactory.Op op)
k - The key regexpv - The value regexpop - The operation to use when comparing the key and the value.public boolean requiresExactKeyMatch()
ConditionFactory.KeyValueConditionrequiresExactKeyMatch in class ConditionFactory.KeyValueConditiontrue if this condition requires an exact key match.protected boolean matches(Environment env)
matches in class ConditionFactory.KeyValueRegexpCondition