- All Superinterfaces:
Events.Event,TimedEvent
Represents an event that occurs when a condition is evaluated.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionObject[]Returns the values involved in the condition evaluation.Returns the evaluator responsible for the condition evaluation.RuleSession<?>Returns theRuleSessionduring which the condition was evaluated.booleanisPassed()Returns the result of the condition evaluation.Methods inherited from interface org.evrete.api.events.TimedEvent
getEndTime, getStartTime
-
Method Details
-
getCondition
ValuesPredicate getCondition()Returns the evaluator responsible for the condition evaluation.- Returns:
- the evaluator
-
getArguments
Object[] getArguments()Returns the values involved in the condition evaluation.- Returns:
- an instance of
IntToValuerepresenting the values
-
isPassed
boolean isPassed()Returns the result of the condition evaluation.- Returns:
trueif the condition is met,falseotherwise
-
getContext
RuleSession<?> getContext()Returns theRuleSessionduring which the condition was evaluated.- Returns:
- the session context
-