当前页面:
在线文档首页 >
JBoss RULES 3.0.6 API 英文版文档
LeapsAgenda - JBoss RULES 3.0.6 API 英文版文档
org.drools.leaps
Class LeapsAgenda
java.lang.Object
org.drools.common.DefaultAgenda
org.drools.leaps.LeapsAgenda
- All Implemented Interfaces:
- java.io.Serializable, Agenda, InternalAgenda
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 |
LeapsAgenda
public LeapsAgenda(org.drools.leaps.LeapsWorkingMemory workingMemory)
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
- If an error occurs while attempting to fire the consequence.
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