Interface IRule<T>

All Known Implementing Classes:
Rule

public interface IRule<T>
Interface for a rule. Has a - name - event types it reacts to - condition, lhs of the rule - action, rhs of the rule
  • Method Details

    • getName

      String getName()
      Get the rule name.
      Returns:
      The rule name.
    • getEvents

      List<EventType> getEvents()
      Get the event types this rule reactes to.
      Returns:
      The event types.
    • getCondition

      ICondition getCondition()
      Get the condition of the rule.
      Returns:
      The condition.
    • getAction

      IAction<T> getAction()
      Get the action of the rule.
      Returns:
      The action.