public final class Not extends DefaultConditionBuilder implements CompositeCondition
Condition instances. If all provided conditions return true, this
condition returns false. If any provided conditions return false, this condition returns
true.| Modifier and Type | Method and Description |
|---|---|
static Not |
any(Condition condition)
Evaluates all provided
Condition instances. |
boolean |
evaluate(Rewrite event,
EvaluationContext context)
Evaluate this condition against the given
Rewrite event. |
List<Condition> |
getConditions()
Returns all
Condition objects contained within this CompositeCondition; otherwise, returns an
empty List. |
String |
toString() |
and, andNot, or, orNotpublic static Not any(Condition condition)
Condition instances. If all provided conditions return true, this
condition returns false. If any provided conditions return false, this condition returns
true.public boolean evaluate(Rewrite event, EvaluationContext context)
ConditionRewrite event. If this condition does
not apply to the given event, it must return false. If the condition applies and is satisfied, return true.public List<Condition> getConditions()
CompositeConditionCondition objects contained within this CompositeCondition; otherwise, returns an
empty List.getConditions in interface CompositeConditionCopyright © 2014 OCPsoft. All Rights Reserved.