public abstract class AbstractStringMatchFunctor extends AbstractMatchFunctor
Constructor and Description |
---|
AbstractStringMatchFunctor() |
Modifier and Type | Method and Description |
---|---|
String |
getMatchString()
Gets the string to match for a positive evaluation.
|
boolean |
isCaseSensitive()
Gets whether the match evaluation is case sensitive.
|
protected boolean |
isMatch(Object value)
Matches the given value against the provided match string.
|
void |
setCaseSensitive(boolean isCaseSensitive)
Sets whether the match evaluation is case sensitive.
|
void |
setMatchString(String match)
Sets the string to match for a positive evaluation.
|
doEvaluatePolicyRequirement, doEvaluateValue, evaluateDenyRule, evaluatePermitValue, evaluatePolicyRequirement
public String getMatchString()
public void setMatchString(String match)
match
- string to match for a positive evaluationpublic boolean isCaseSensitive()
public void setCaseSensitive(boolean isCaseSensitive)
isCaseSensitive
- whether the match evaluation is case sensitiveprotected 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.