Interface ConditionEvaluationEvent

All Superinterfaces:
Events.Event, TimedEvent

public interface ConditionEvaluationEvent extends Events.Event, TimedEvent
Represents an event that occurs when a condition is evaluated.
See Also:
  • 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 IntToValue representing the values
    • isPassed

      boolean isPassed()
      Returns the result of the condition evaluation.
      Returns:
      true if the condition is met, false otherwise
    • getContext

      RuleSession<?> getContext()
      Returns the RuleSession during which the condition was evaluated.
      Returns:
      the session context