org.drools.core.common
Class ScheduledAgendaItem
java.lang.Object
org.drools.core.common.AgendaItem
org.drools.core.common.ScheduledAgendaItem
- All Implemented Interfaces:
- Externalizable, Serializable, Activation, Entry<ScheduledAgendaItem>, LinkedListNode<ScheduledAgendaItem>, Queueable, org.kie.api.runtime.rule.Match
public class ScheduledAgendaItem
- extends AgendaItem
- implements Activation, Externalizable, LinkedListNode<ScheduledAgendaItem>
- See Also:
- Serialized Form
| Methods inherited from class org.drools.core.common.AgendaItem |
addBlocked, addLogicalDependency, cancel, dequeue, enqueued, equals, getActivationGroupNode, getActivationNode, getActivationNumber, getActivationUnMatchListener, getAgendaGroup, getBlocked, getBlockers, getConsequence, getDeclarationIds, getDeclarationValue, getFactHandle, getFactHandles, getIndex, getLogicalDependencies, getObjects, getPropagationContext, getRule, getRuleNetworkEvaluatorActivation, getSalience, getSequenence, getSubRule, getTerminalNode, getTuple, hashCode, isActivated, isActive, isCanceled, isMatched, isRuleNetworkEvaluatorActivation, removeAllBlockersAndBlocked, removeBlocked, setActivated, setActivationGroupNode, setActivationNode, setActivationUnMatchListener, setAgendaGroup, setBlocked, setFactHandle, setLogicalDependencies, setMatched, setPropagationContext, setSalience, setSequenence, toExternalForm |
| Methods inherited from interface org.drools.core.spi.Activation |
addBlocked, addLogicalDependency, getActivationGroupNode, getActivationNode, getActivationNumber, getAgendaGroup, getBlocked, getBlockers, getConsequence, getFactHandle, getLogicalDependencies, getPropagationContext, getRule, getSalience, getSubRule, getTuple, isActivated, isMatched, isRuleNetworkEvaluatorActivation, setActivated, setActivationGroupNode, setActivationNode, setBlocked, setLogicalDependencies, setMatched |
| Methods inherited from interface org.kie.api.runtime.rule.Match |
getDeclarationIds, getDeclarationValue, getFactHandles, getObjects, isActive |
ScheduledAgendaItem
public ScheduledAgendaItem(long activationNumber,
LeftTuple tuple,
InternalAgenda agenda,
PropagationContext context,
TerminalNode rtn)
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable- Overrides:
readExternal in class AgendaItem
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable- Overrides:
writeExternal in class AgendaItem
- Throws:
IOException
getNext
public ScheduledAgendaItem getNext()
- Specified by:
getNext in interface Entry<ScheduledAgendaItem>
setNext
public void setNext(ScheduledAgendaItem next)
- Specified by:
setNext in interface Entry<ScheduledAgendaItem>
getPrevious
public ScheduledAgendaItem getPrevious()
- Description copied from interface:
LinkedListNode
- Returns the previous node
- Specified by:
getPrevious in interface LinkedListNode<ScheduledAgendaItem>
- Returns:
- The previous LinkedListNode
setPrevious
public void setPrevious(ScheduledAgendaItem previous)
- Description copied from interface:
LinkedListNode
- Sets the previous node
- Specified by:
setPrevious in interface LinkedListNode<ScheduledAgendaItem>
- Parameters:
previous - The previous LinkedListNode
remove
public void remove()
- Description copied from interface:
Activation
- Cancel the
Activation by removing it from the Agenda.
- Specified by:
remove in interface Activation- Overrides:
remove in class AgendaItem
getJobHandle
public JobHandle getJobHandle()
setJobHandle
public void setJobHandle(JobHandle jobHandle)
toString
public String toString()
- Overrides:
toString in class AgendaItem
isEnqueued
public boolean isEnqueued()
setEnqueued
public void setEnqueued(boolean enqueued)
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.