|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.drools.common.AgendaItem
public class AgendaItem
Item entry in the Agenda.
| Constructor Summary | |
|---|---|
AgendaItem(long activationNumber,
Tuple tuple,
PropagationContext context,
Rule rule)
Construct. |
|
| Method Summary | |
|---|---|
void |
addLogicalDependency(LogicalDependency node)
|
void |
dequeue()
|
void |
enqueued(Queue queue,
int index)
|
boolean |
equals(java.lang.Object object)
|
ActivationGroupNode |
getActivationGroupNode()
|
long |
getActivationNumber()
Retrieve the activation number. |
LinkedList |
getLogicalDependencies()
|
PropagationContext |
getPropagationContext()
Retrieve the PropagationContext for the Activation |
Rule |
getRule()
Retrieve the rule. |
Tuple |
getTuple()
Retrieve the tuple. |
int |
hashCode()
Return the hashCode of the TupleKey |
boolean |
isActivated()
|
void |
remove()
Cancel the Activation by removing it from the Agenda. |
void |
setActivated(boolean activated)
|
void |
setActivationGroupNode(ActivationGroupNode activationNode)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AgendaItem(long activationNumber,
Tuple tuple,
PropagationContext context,
Rule rule)
tuple - The tuple.rule - The rule.| Method Detail |
|---|
public PropagationContext getPropagationContext()
ActivationPropagationContext for the Activation
getPropagationContext in interface Activationpublic Rule getRule()
getRule in interface Activationpublic Tuple getTuple()
getTuple in interface Activationpublic long getActivationNumber()
Activation
getActivationNumber in interface Activationpublic void addLogicalDependency(LogicalDependency node)
addLogicalDependency in interface Activationpublic LinkedList getLogicalDependencies()
getLogicalDependencies in interface Activationpublic boolean isActivated()
isActivated in interface Activationpublic void setActivated(boolean activated)
setActivated in interface Activationpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
TupleKey as the hashCode of the AgendaItem
- Overrides:
hashCode in class java.lang.Object
- Returns:
public void enqueued(Queue queue, int index)
public void dequeue()
public void remove()
ActivationActivation by removing it from the Agenda.
remove in interface Activationpublic ActivationGroupNode getActivationGroupNode()
getActivationGroupNode in interface Activationpublic void setActivationGroupNode(ActivationGroupNode activationNode)
setActivationGroupNode in interface Activation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||