01: package org.drools.event;
02:
03: import org.drools.WorkingMemory;
04:
05: public class DebugRuleFlowEventListener implements
06: RuleFlowEventListener {
07:
08: public void ruleFlowCompleted(RuleFlowCompletedEvent event,
09: WorkingMemory workingMemory) {
10: System.err.println(event);
11: }
12:
13: public void ruleFlowGroupActivated(
14: RuleFlowGroupActivatedEvent event,
15: WorkingMemory workingMemory) {
16: System.err.println(event);
17: }
18:
19: public void ruleFlowGroupDeactivated(
20: RuleFlowGroupDeactivatedEvent event,
21: WorkingMemory workingMemory) {
22: System.err.println(event);
23: }
24:
25: public void ruleFlowStarted(RuleFlowStartedEvent event,
26: WorkingMemory workingMemory) {
27: System.err.println(event);
28: }
29:
30: }
|