|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.common.AgendaItem
org.drools.common.ScheduledAgendaItem
public class ScheduledAgendaItem
Constructor Summary | |
---|---|
ScheduledAgendaItem(long activationNumber,
LeftTuple tuple,
InternalAgenda agenda,
PropagationContext context,
RuleTerminalNode rtn)
|
Method Summary | |
---|---|
JobHandle |
getJobHandle()
|
LinkedListNode |
getNext()
Returns the next node |
LinkedListNode |
getPrevious()
Returns the previous node |
void |
readExternal(ObjectInput in)
|
void |
remove()
Cancel the Activation by removing it from the Agenda . |
void |
setJobHandle(JobHandle jobHandle)
|
void |
setNext(Entry next)
|
void |
setNext(LinkedListNode next)
Sets the next node |
void |
setPrevious(LinkedListNode previous)
Sets the previous node |
String |
toString()
|
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.drools.spi.Activation |
---|
addBlocked, addLogicalDependency, getActivationGroupNode, getActivationNode, getActivationNumber, getAgendaGroup, getBlocked, getBlockers, getFactHandle, getLogicalDependencies, getPropagationContext, getRule, getSalience, getSubRule, getTuple, isActivated, isMatched, setActivated, setActivationGroupNode, setActivationNode, setBlocked, setLogicalDependencies, setMatched |
Methods inherited from interface org.drools.runtime.rule.Activation |
---|
getDeclarationIDs, getDeclarationValue, getFactHandles, getObjects, isActive |
Constructor Detail |
---|
public ScheduledAgendaItem(long activationNumber, LeftTuple tuple, InternalAgenda agenda, PropagationContext context, RuleTerminalNode rtn)
Method Detail |
---|
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class AgendaItem
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class AgendaItem
IOException
public LinkedListNode getNext()
LinkedListNode
getNext
in interface Entry
getNext
in interface LinkedListNode
public void setNext(LinkedListNode next)
LinkedListNode
setNext
in interface LinkedListNode
next
- The next LinkedListNodepublic void setNext(Entry next)
setNext
in interface Entry
public LinkedListNode getPrevious()
LinkedListNode
getPrevious
in interface LinkedListNode
public void setPrevious(LinkedListNode previous)
LinkedListNode
setPrevious
in interface LinkedListNode
previous
- The previous LinkedListNodepublic void remove()
Activation
Activation
by removing it from the Agenda
.
remove
in class AgendaItem
public JobHandle getJobHandle()
public void setJobHandle(JobHandle jobHandle)
public String toString()
toString
in class AgendaItem
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |