Interface RuleAndRuleGroupExecutionTracker

  • All Known Implementing Classes:
    DefaultRuleAndRuleGroupExecutionTracker

    public interface RuleAndRuleGroupExecutionTracker
    RuleAndRuleGroupExecutionTracker is used for tracking rule and rule group executions. It provides methods for checking whether the rule execution is allowed and for the actual tracking.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean allowedToExecute​(java.lang.Object rule)
      returns true if the rule is allowed to be executed, otherwise false
      void trackActionExecutionStarted​(java.lang.String ruleCode)
      tracks that an action of the given rule code has been executed successfully
      void trackRuleExecution​(java.lang.Object context)
      tracks that the invoking rule (and its rule group) has been executed successfully
    • Method Detail

      • allowedToExecute

        boolean allowedToExecute​(java.lang.Object rule)
        returns true if the rule is allowed to be executed, otherwise false
      • trackActionExecutionStarted

        void trackActionExecutionStarted​(java.lang.String ruleCode)
        tracks that an action of the given rule code has been executed successfully
      • trackRuleExecution

        void trackRuleExecution​(java.lang.Object context)
        tracks that the invoking rule (and its rule group) has been executed successfully