public class RuleCoverageListener extends Object implements org.drools.core.event.AgendaEventListener
Constructor and Description |
---|
RuleCoverageListener(HashSet<String> expectedRuleNames)
Pass in the expected rules to fire.
|
Modifier and Type | Method and Description |
---|---|
void |
activationCancelled(org.drools.core.event.ActivationCancelledEvent event,
org.drools.core.WorkingMemory workingMemory) |
void |
activationCreated(org.drools.core.event.ActivationCreatedEvent event,
org.drools.core.WorkingMemory workingMemory) |
void |
afterActivationFired(org.drools.core.event.AfterActivationFiredEvent event,
org.drools.core.WorkingMemory workingMemory) |
void |
afterRuleFlowGroupActivated(org.drools.core.event.RuleFlowGroupActivatedEvent event,
org.drools.core.WorkingMemory workingMemory) |
void |
afterRuleFlowGroupDeactivated(org.drools.core.event.RuleFlowGroupDeactivatedEvent event,
org.drools.core.WorkingMemory workingMemory) |
void |
agendaGroupPopped(org.drools.core.event.AgendaGroupPoppedEvent event,
org.drools.core.WorkingMemory workingMemory) |
void |
agendaGroupPushed(org.drools.core.event.AgendaGroupPushedEvent event,
org.drools.core.WorkingMemory workingMemory) |
void |
beforeActivationFired(org.drools.core.event.BeforeActivationFiredEvent event,
org.drools.core.WorkingMemory workingMemory) |
void |
beforeRuleFlowGroupActivated(org.drools.core.event.RuleFlowGroupActivatedEvent event,
org.drools.core.WorkingMemory workingMemory) |
void |
beforeRuleFlowGroupDeactivated(org.drools.core.event.RuleFlowGroupDeactivatedEvent event,
org.drools.core.WorkingMemory workingMemory) |
int |
getPercentCovered() |
String[] |
getUnfiredRules() |
public void activationCancelled(org.drools.core.event.ActivationCancelledEvent event, org.drools.core.WorkingMemory workingMemory)
activationCancelled
in interface org.drools.core.event.AgendaEventListener
public void activationCreated(org.drools.core.event.ActivationCreatedEvent event, org.drools.core.WorkingMemory workingMemory)
activationCreated
in interface org.drools.core.event.AgendaEventListener
public void afterActivationFired(org.drools.core.event.AfterActivationFiredEvent event, org.drools.core.WorkingMemory workingMemory)
afterActivationFired
in interface org.drools.core.event.AgendaEventListener
public void agendaGroupPopped(org.drools.core.event.AgendaGroupPoppedEvent event, org.drools.core.WorkingMemory workingMemory)
agendaGroupPopped
in interface org.drools.core.event.AgendaEventListener
public void agendaGroupPushed(org.drools.core.event.AgendaGroupPushedEvent event, org.drools.core.WorkingMemory workingMemory)
agendaGroupPushed
in interface org.drools.core.event.AgendaEventListener
public void beforeActivationFired(org.drools.core.event.BeforeActivationFiredEvent event, org.drools.core.WorkingMemory workingMemory)
beforeActivationFired
in interface org.drools.core.event.AgendaEventListener
public String[] getUnfiredRules()
public int getPercentCovered()
public void afterRuleFlowGroupActivated(org.drools.core.event.RuleFlowGroupActivatedEvent event, org.drools.core.WorkingMemory workingMemory)
afterRuleFlowGroupActivated
in interface org.drools.core.event.AgendaEventListener
public void afterRuleFlowGroupDeactivated(org.drools.core.event.RuleFlowGroupDeactivatedEvent event, org.drools.core.WorkingMemory workingMemory)
afterRuleFlowGroupDeactivated
in interface org.drools.core.event.AgendaEventListener
public void beforeRuleFlowGroupActivated(org.drools.core.event.RuleFlowGroupActivatedEvent event, org.drools.core.WorkingMemory workingMemory)
beforeRuleFlowGroupActivated
in interface org.drools.core.event.AgendaEventListener
public void beforeRuleFlowGroupDeactivated(org.drools.core.event.RuleFlowGroupDeactivatedEvent event, org.drools.core.WorkingMemory workingMemory)
beforeRuleFlowGroupDeactivated
in interface org.drools.core.event.AgendaEventListener
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.