org.jbpm.process.instance.event.listeners
Class TriggerRulesEventListener
java.lang.Object
org.jbpm.process.instance.event.listeners.TriggerRulesEventListener
- All Implemented Interfaces:
- EventListener, AgendaEventListener
public class TriggerRulesEventListener
- extends Object
- implements AgendaEventListener
Dedicated AgendaEventListener that will fireAllRules as soon as:
- match is created
- after rule flow group is activated
This listener should be used to automatically fire rules as soon as they get activated.
Especially useful for executing business rule tasks as part of the process.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TriggerRulesEventListener
public TriggerRulesEventListener(KieSession ksession)
matchCreated
public void matchCreated(MatchCreatedEvent event)
- Specified by:
matchCreated in interface AgendaEventListener
matchCancelled
public void matchCancelled(MatchCancelledEvent event)
- Specified by:
matchCancelled in interface AgendaEventListener
beforeMatchFired
public void beforeMatchFired(BeforeMatchFiredEvent event)
- Specified by:
beforeMatchFired in interface AgendaEventListener
afterMatchFired
public void afterMatchFired(AfterMatchFiredEvent event)
- Specified by:
afterMatchFired in interface AgendaEventListener
agendaGroupPopped
public void agendaGroupPopped(AgendaGroupPoppedEvent event)
- Specified by:
agendaGroupPopped in interface AgendaEventListener
agendaGroupPushed
public void agendaGroupPushed(AgendaGroupPushedEvent event)
- Specified by:
agendaGroupPushed in interface AgendaEventListener
beforeRuleFlowGroupActivated
public void beforeRuleFlowGroupActivated(RuleFlowGroupActivatedEvent event)
- Specified by:
beforeRuleFlowGroupActivated in interface AgendaEventListener
afterRuleFlowGroupActivated
public void afterRuleFlowGroupActivated(RuleFlowGroupActivatedEvent event)
- Specified by:
afterRuleFlowGroupActivated in interface AgendaEventListener
beforeRuleFlowGroupDeactivated
public void beforeRuleFlowGroupDeactivated(RuleFlowGroupDeactivatedEvent event)
- Specified by:
beforeRuleFlowGroupDeactivated in interface AgendaEventListener
afterRuleFlowGroupDeactivated
public void afterRuleFlowGroupDeactivated(RuleFlowGroupDeactivatedEvent event)
- Specified by:
afterRuleFlowGroupDeactivated in interface AgendaEventListener
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.