Interface RuleAndRuleGroupExecutionTracker
-
- All Known Implementing Classes:
DefaultRuleAndRuleGroupExecutionTracker
public interface RuleAndRuleGroupExecutionTrackerRuleAndRuleGroupExecutionTracker 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 booleanallowedToExecute(java.lang.Object rule)returns true if the rule is allowed to be executed, otherwise falsevoidtrackActionExecutionStarted(java.lang.String ruleCode)tracks that an action of the given rule code has been executed successfullyvoidtrackRuleExecution(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
-
-