
public class MatchesCondition extends Condition
| Modifier | Constructor and Description |
|---|---|
protected |
MatchesCondition(XDIStatement XDIstatement) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluateInternal(PolicyEvaluationContext policyEvaluationContext) |
static MatchesCondition |
fromStatement(XDIStatement XDIstatement)
Factory method that creates an XDI $matches condition bound to a given statement.
|
static MatchesCondition |
fromSubjectAndObject(XDIAddress subject,
XDIAddress object) |
static boolean |
isValid(XDIStatement XDIstatement)
Checks if a statement is a valid XDI $matches condition.
|
castCondition, compareTo, equals, evaluate, fromAddress, getXDIAddress, getXDIStatement, hashCode, isValid, toStringprotected MatchesCondition(XDIStatement XDIstatement)
public static boolean isValid(XDIStatement XDIstatement)
XDIstatement - The statement to check.public static MatchesCondition fromStatement(XDIStatement XDIstatement)
XDIstatement - The statement that is an XDI $matches condition.public static MatchesCondition fromSubjectAndObject(XDIAddress subject, XDIAddress object)
public boolean evaluateInternal(PolicyEvaluationContext policyEvaluationContext)
evaluateInternal in class ConditionCopyright © 2017. All rights reserved.