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