public interface Condition
Condition
implementations. If creating custom implementations, you should likely extend DefaultConditionBuilder
, which
adds logical operators to any class extending it.Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(Rewrite event,
EvaluationContext context)
Evaluate this condition against the given
Rewrite event. |
boolean evaluate(Rewrite event, EvaluationContext context)
Rewrite
event. If this condition does
not apply to the given event, it must return false. If the condition applies and is satisfied, return true.Copyright © 2014 OCPsoft. All Rights Reserved.