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