public void fireAfterActivationFired(final Activation activation, final InternalWorkingMemory workingMemory) { final Iterator<AgendaEventListener> iter = getEventListenersIterator(); if (iter.hasNext()) { final AfterActivationFiredEvent event = new AfterActivationFiredEvent(activation); do{ iter.next().afterActivationFired(event, workingMemory); } while (iter.hasNext()); } }
public void fireAfterRuleFlowGroupDeactivated( final RuleFlowGroup ruleFlowGroup, final InternalWorkingMemory workingMemory) { final Iterator<AgendaEventListener> iter = getEventListenersIterator(); if (iter.hasNext()) { final RuleFlowGroupDeactivatedEvent event = new RuleFlowGroupDeactivatedEvent( ruleFlowGroup); do { iter.next().afterRuleFlowGroupDeactivated(event, workingMemory); } while (iter.hasNext()); } }
public void fireAgendaGroupPushed(final AgendaGroup agendaGroup, final InternalWorkingMemory workingMemory) { final Iterator<AgendaEventListener> iter = getEventListenersIterator(); if (iter.hasNext()) { final AgendaGroupPushedEvent event = new AgendaGroupPushedEvent(agendaGroup); do{ iter.next().agendaGroupPushed(event, workingMemory); } while (iter.hasNext()); } }
public void fireBeforeRuleFlowGroupActivated( final RuleFlowGroup ruleFlowGroup, final InternalWorkingMemory workingMemory) { final Iterator<AgendaEventListener> iter = getEventListenersIterator(); if (iter.hasNext()) { final RuleFlowGroupActivatedEvent event = new RuleFlowGroupActivatedEvent( ruleFlowGroup); do { iter.next().beforeRuleFlowGroupActivated(event, workingMemory); } while (iter.hasNext()); } }
public void fireAfterRuleFlowGroupActivated( final RuleFlowGroup ruleFlowGroup, final InternalWorkingMemory workingMemory) { final Iterator<AgendaEventListener> iter = getEventListenersIterator(); if (iter.hasNext()) { final RuleFlowGroupActivatedEvent event = new RuleFlowGroupActivatedEvent( ruleFlowGroup); do { iter.next().afterRuleFlowGroupActivated(event, workingMemory); } while (iter.hasNext()); } }
public void fireActivationCancelled(final Activation activation, final WorkingMemory workingMemory, final ActivationCancelledCause cause) { final Iterator<AgendaEventListener> iter = getEventListenersIterator(); if (iter.hasNext()) { final ActivationCancelledEvent event = new ActivationCancelledEvent(activation, cause); do{ iter.next().activationCancelled(event, workingMemory); } while (iter.hasNext()); } }
public void fireAgendaGroupPopped(final AgendaGroup agendaGroup, final InternalWorkingMemory workingMemory) { final Iterator<AgendaEventListener> iter = getEventListenersIterator(); if (iter.hasNext()) { final AgendaGroupPoppedEvent event = new AgendaGroupPoppedEvent(agendaGroup); do{ iter.next().agendaGroupPopped(event, workingMemory); } while (iter.hasNext()); } }
public void fireActivationCreated(final Activation activation, final WorkingMemory workingMemory) { final Iterator<AgendaEventListener> iter = getEventListenersIterator(); if (iter.hasNext()) { final ActivationCreatedEvent event = new ActivationCreatedEvent(activation); do{ iter.next().activationCreated(event, workingMemory); } while (iter.hasNext()); } }
public void fireBeforeActivationFired(final Activation activation, final WorkingMemory workingMemory) { final Iterator<AgendaEventListener> iter = getEventListenersIterator(); if (iter.hasNext()) { final BeforeActivationFiredEvent event = new BeforeActivationFiredEvent(activation); do{ iter.next().beforeActivationFired(event, workingMemory); } while (iter.hasNext()); } }
public void fireBeforeRuleFlowGroupDeactivated( final RuleFlowGroup ruleFlowGroup, final InternalWorkingMemory workingMemory) { final Iterator<AgendaEventListener> iter = getEventListenersIterator(); if (iter.hasNext()) { final RuleFlowGroupDeactivatedEvent event = new RuleFlowGroupDeactivatedEvent( ruleFlowGroup); do { iter.next() .beforeRuleFlowGroupDeactivated(event, workingMemory); } while (iter.hasNext()); } }