|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.reteoo.AgendaItem
class AgendaItem
Item entry in the Agenda
.
Constructor Summary | |
---|---|
AgendaItem(ReteTuple tuple,
Rule rule)
Construct. |
Method Summary | |
---|---|
(package private) boolean |
dependsOn(FactHandle handle)
Determine if this tuple depends on the values derrived from a particular root object. |
(package private) void |
fire(WorkingMemoryImpl workingMemory)
Fire this item. |
long |
getActivationNumber()
Retrieve the activation number that was assigned by the counter to his activation at creation time. |
(package private) TupleKey |
getKey()
Retrieve the TupleKey . |
Rule |
getRule()
Retrieve the rule. |
Tuple |
getTuple()
Retrieve the tuple. |
(package private) void |
setTuple(ReteTuple tuple)
Set the tuple. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
AgendaItem(ReteTuple tuple, Rule rule)
tuple
- The tuple.rule
- The rule.Method Detail |
---|
public Rule getRule()
getRule
in interface Activation
boolean dependsOn(FactHandle handle)
handle
- The root object handle.
true if this agenda item depends
upon the item, otherwise false
.
void setTuple(ReteTuple tuple)
tuple
- The tuple.public Tuple getTuple()
getTuple
in interface Activation
TupleKey getKey()
TupleKey
.
void fire(WorkingMemoryImpl workingMemory) throws ConsequenceException
workingMemory
- The working memory context.
ConsequenceException
- If an error occurs while attempting to fire the consequence.public long getActivationNumber()
Activation
getActivationNumber
in interface Activation
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |