public class ScheduledAgendaItem extends Object implements AgendaItem, LinkedListNode<ScheduledAgendaItem>
Constructor and Description |
---|
ScheduledAgendaItem(AgendaItem agendaItem,
InternalAgenda agenda) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode
public ScheduledAgendaItem(AgendaItem agendaItem, InternalAgenda agenda)
public PropagationContext getPropagationContext()
Activation
PropagationContext
for the Activation
getPropagationContext
in interface AgendaItem
getPropagationContext
in interface Activation
public void setPropagationContext(PropagationContext context)
setPropagationContext
in interface AgendaItem
public boolean isMatched()
isMatched
in interface AgendaItem
isMatched
in interface Activation
public void setMatched(boolean matched)
setMatched
in interface AgendaItem
setMatched
in interface Activation
public boolean isActive()
isActive
in interface Activation
public void setActive(boolean active)
setActive
in interface Activation
public TerminalNode getTerminalNode()
getTerminalNode
in interface AgendaItem
public int getSalience()
getSalience
in interface AgendaItem
getSalience
in interface Activation
public void setSalience(int salience)
setSalience
in interface AgendaItem
public String toExternalForm()
toExternalForm
in interface AgendaItem
public LinkedList<LogicalDependency> getBlocked()
getBlocked
in interface AgendaItem
getBlocked
in interface Activation
public void setBlocked(LinkedList<LogicalDependency> justified)
setBlocked
in interface AgendaItem
setBlocked
in interface Activation
public InternalFactHandle getFactHandle()
getFactHandle
in interface AgendaItem
getFactHandle
in interface Activation
public void setFactHandle(InternalFactHandle factHandle)
setFactHandle
in interface AgendaItem
public ActivationGroupNode getActivationGroupNode()
getActivationGroupNode
in interface AgendaItem
getActivationGroupNode
in interface Activation
public void setActivationGroupNode(ActivationGroupNode activationNode)
setActivationGroupNode
in interface AgendaItem
setActivationGroupNode
in interface Activation
public Consequence getConsequence()
getConsequence
in interface AgendaItem
getConsequence
in interface Activation
public org.kie.internal.event.rule.ActivationUnMatchListener getActivationUnMatchListener()
getActivationUnMatchListener
in interface AgendaItem
public void setActivationUnMatchListener(org.kie.internal.event.rule.ActivationUnMatchListener activationUnMatchListener)
setActivationUnMatchListener
in interface AgendaItem
public Rule getRule()
getRule
in interface AgendaItem
getRule
in interface Activation
getRule
in interface org.kie.api.runtime.rule.Match
public InternalAgendaGroup getAgendaGroup()
getAgendaGroup
in interface AgendaItem
getAgendaGroup
in interface Activation
public long getActivationNumber()
Activation
getActivationNumber
in interface AgendaItem
getActivationNumber
in interface Activation
public void removeBlocked(LogicalDependency dep)
removeBlocked
in interface AgendaItem
public void addBlocked(LogicalDependency dep)
addBlocked
in interface AgendaItem
addBlocked
in interface Activation
public void dequeue()
dequeue
in interface AgendaItem
dequeue
in interface Activation
public int getQueueIndex()
getQueueIndex
in interface AgendaItem
getQueueIndex
in interface Activation
public void setQueueIndex(int index)
setQueueIndex
in interface AgendaItem
setQueueIndex
in interface Activation
public boolean isQueued()
isQueued
in interface AgendaItem
isQueued
in interface Activation
public void setQueued(boolean queued)
setQueued
in interface AgendaItem
setQueued
in interface Activation
public void addLogicalDependency(LogicalDependency node)
addLogicalDependency
in interface AgendaItem
addLogicalDependency
in interface Activation
public LinkedList<LinkedListEntry<LogicalDependency>> getBlockers()
getBlockers
in interface AgendaItem
getBlockers
in interface Activation
public Object getDeclarationValue(String variableName)
getDeclarationValue
in interface AgendaItem
getDeclarationValue
in interface org.kie.api.runtime.rule.Match
public RuleAgendaItem getRuleAgendaItem()
getRuleAgendaItem
in interface AgendaItem
public LeftTuple getTuple()
Activation
Tuple
that was activated.getTuple
in interface AgendaItem
getTuple
in interface Activation
public List<String> getDeclarationIds()
getDeclarationIds
in interface AgendaItem
getDeclarationIds
in interface org.kie.api.runtime.rule.Match
public void cancel()
cancel
in interface AgendaItem
public ActivationNode getActivationNode()
getActivationNode
in interface AgendaItem
getActivationNode
in interface Activation
public void setActivationNode(ActivationNode activationNode)
setActivationNode
in interface AgendaItem
setActivationNode
in interface Activation
public GroupElement getSubRule()
Activation
getSubRule
in interface AgendaItem
getSubRule
in interface Activation
public void removeAllBlockersAndBlocked(InternalAgenda agenda)
removeAllBlockersAndBlocked
in interface AgendaItem
public boolean isCanceled()
isCanceled
in interface AgendaItem
public List<Object> getObjects()
getObjects
in interface AgendaItem
getObjects
in interface org.kie.api.runtime.rule.Match
public boolean isRuleAgendaItem()
isRuleAgendaItem
in interface AgendaItem
isRuleAgendaItem
in interface Activation
public LinkedList<LogicalDependency> getLogicalDependencies()
getLogicalDependencies
in interface AgendaItem
getLogicalDependencies
in interface Activation
public void setLogicalDependencies(LinkedList<LogicalDependency> justified)
setLogicalDependencies
in interface AgendaItem
setLogicalDependencies
in interface Activation
public List<FactHandle> getFactHandles()
getFactHandles
in interface AgendaItem
getFactHandles
in interface org.kie.api.runtime.rule.Match
public ScheduledAgendaItem getNext()
getNext
in interface Entry<ScheduledAgendaItem>
public void setNext(ScheduledAgendaItem next)
setNext
in interface Entry<ScheduledAgendaItem>
public ScheduledAgendaItem getPrevious()
LinkedListNode
getPrevious
in interface LinkedListNode<ScheduledAgendaItem>
public void setPrevious(ScheduledAgendaItem previous)
LinkedListNode
setPrevious
in interface LinkedListNode<ScheduledAgendaItem>
previous
- The previous LinkedListNodepublic void nullPrevNext()
nullPrevNext
in interface LinkedListNode<ScheduledAgendaItem>
public void remove()
Activation
Activation
by removing it from the Agenda
.remove
in interface AgendaItem
remove
in interface Activation
public JobHandle getJobHandle()
public void setJobHandle(JobHandle jobHandle)
public String toString()
toString
in interface AgendaItem
toString
in class Object
public boolean isEnqueued()
public void setEnqueued(boolean enqueued)
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.