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