public interface Condition
Modifier and Type | Method and Description |
---|---|
boolean |
alwaysEvaluate()
Lets the rule engine knows if this condition needs to be re-evaluated everytime and not memorize its result.
|
boolean |
eval(java.lang.Object[] objects)
Evaluates the expression of this
Condition . |
Identifier[] |
getIdentifiers()
Gets all the
Identifier objects that will be used for this Condition . |
Rule |
getRule()
Gets the rule that contains this Condition.
|
Identifier[] getIdentifiers()
Identifier
objects that will be used for this Condition
.Identifier
.boolean eval(java.lang.Object[] objects)
Condition
.objects
- Object[]
containing parameter values for the expression.Rule getRule()
boolean alwaysEvaluate()