public abstract class AbstractRegexMatchFunctor extends AbstractMatchFunctor
| Modifier and Type | Field and Description |
|---|---|
private Pattern |
regex
Regular expression to match.
|
| 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, evaluatePolicyRequirementprivate Pattern regex
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-2015. All Rights Reserved.