public abstract class AbstractRegexMatchFunctor extends AbstractMatchFunctor
Constructor and Description |
---|
AbstractRegexMatchFunctor() |
Modifier and Type | Method and Description |
---|---|
String |
getRegularExpression()
Gets the regular expression to match.
|
protected boolean |
isMatch(Object value)
Matches the given value against the provided regular expression.
|
void |
setRegularExpression(String expression)
Sets the regular expression to match.
|
doEvaluatePolicyRequirement, doEvaluateValue, evaluateDenyRule, evaluatePermitValue, evaluatePolicyRequirement
public String getRegularExpression()
public void setRegularExpression(String expression)
expression
- regular expression to matchprotected boolean isMatch(Object value)
Object.toString()
is used to produce the
string value to evaluate.value
- the value to evaluateCopyright © 1999–2014. All rights reserved.