org.drools.leaps
Class LeapsAgenda

java.lang.Object
  extended byorg.drools.common.DefaultAgenda
      extended byorg.drools.leaps.LeapsAgenda
All Implemented Interfaces:
Agenda, InternalAgenda, java.io.Serializable

public class LeapsAgenda
extends DefaultAgenda

See Also:
Serialized Form
 

Constructor Summary
LeapsAgenda(org.drools.leaps.LeapsWorkingMemory workingMemory)
           
 
Method Summary
 void fireActivation(Activation activation)
          Fire this item.
 Activation[] getActivations()
          to accomodate the difference between rete and leaps in storing activations. we pull activations from rule to activations map we store in working memory to facilitate activations removal when rule is removed from the memory
 
Methods inherited from class org.drools.common.DefaultAgenda
addAgendaGroup, agendaSize, clearActivationGroup, clearActivationGroup, clearAgenda, clearAgendaGroup, clearAgendaGroup, fireNextItem, focusStackSize, getActivationGroup, getAgendaGroup, getAgendaGroups, getCurrentAgendaGroup, getFocus, getNextFocus, getScheduledActivations, getScheduledItems, getStack, getWorkingMemory, removeScheduleItem, scheduleItem, setCurrentAgendaGroup, setFocus, setFocus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LeapsAgenda

public LeapsAgenda(org.drools.leaps.LeapsWorkingMemory workingMemory)
Method Detail

fireActivation

public void fireActivation(Activation activation)
                    throws ConsequenceException
Description copied from class: DefaultAgenda
Fire this item.

Specified by:
fireActivation in interface InternalAgenda
Overrides:
fireActivation in class DefaultAgenda
Throws:
ConsequenceException

getActivations

public Activation[] getActivations()
to accomodate the difference between rete and leaps in storing activations. we pull activations from rule to activations map we store in working memory to facilitate activations removal when rule is removed from the memory

Specified by:
getActivations in interface Agenda
Overrides:
getActivations in class DefaultAgenda