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
Modifier and TypeMethodDescriptionbooleanallowedToExecute(Object rule) returns true if the rule is allowed to be executed, otherwise falsevoidtrackActionExecutionStarted(String ruleCode) tracks that an action of the given rule code has been executed successfullyvoidtrackRuleExecution(Object context) tracks that the invoking rule (and its rule group) has been executed successfully
-
Method Details
-
allowedToExecute
returns true if the rule is allowed to be executed, otherwise false -
trackActionExecutionStarted
tracks that an action of the given rule code has been executed successfully -
trackRuleExecution
tracks that the invoking rule (and its rule group) has been executed successfully
-