public interface Condition
condition
interface defines the contract for all
conditions.Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(Context context)
Evaluates the condition.
Must return true if the value must change, in that case no further conditions (if any) will be evaluated, return false otherwise, thus giving the opportunity for other conditions to be tested. |
boolean evaluate(Context context)
context
- the current context