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_OPS
considerValAsKey, 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) |
applies
asTag, toString
final 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.protected boolean matches(Environment env)
matches
in class ConditionFactory.KeyValueRegexpCondition