org.drools.reteoo
Class AgendaItemMap

java.lang.Object
  extended by org.drools.reteoo.AgendaItemMap
All Implemented Interfaces:
java.io.Serializable

public class AgendaItemMap
extends java.lang.Object
implements java.io.Serializable

Stores an Agenda item which may be reused in the case of a object modify. (so that it is not a fresh agenda create event). All this effort is so that events due to a "modify" are "normalised". (In other worse, when you modify an object, there should be one modify event). Is basically a hash of a hash keyed on rule, then tuple key.

See Also:
Serialized Form

Constructor Summary
AgendaItemMap()
           
 
Method Summary
 boolean isEmpty()
           
 void putAgendaItem(Rule rule, org.drools.reteoo.TupleKey tupleKey, org.drools.reteoo.AgendaItem item)
           
 org.drools.reteoo.AgendaItem removeAgendaItem(Rule rule, org.drools.reteoo.TupleKey tupleKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgendaItemMap

public AgendaItemMap()
Method Detail

putAgendaItem

public void putAgendaItem(Rule rule,
                          org.drools.reteoo.TupleKey tupleKey,
                          org.drools.reteoo.AgendaItem item)

removeAgendaItem

public org.drools.reteoo.AgendaItem removeAgendaItem(Rule rule,
                                                     org.drools.reteoo.TupleKey tupleKey)

isEmpty

public boolean isEmpty()