public class ScheduledAgendaItem<T extends ModedAssertion<T>> extends Object implements AgendaItem<T>, LinkedListNode<ScheduledAgendaItem<T>>
Constructor and Description |
---|
ScheduledAgendaItem(AgendaItem agendaItem,
InternalAgenda agenda) |
public ScheduledAgendaItem(AgendaItem agendaItem, InternalAgenda agenda)
public PropagationContext getPropagationContext()
Activation
PropagationContext
for the Activation
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 Activation<T extends ModedAssertion<T>>
public void setMatched(boolean matched)
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 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 Activation<T extends ModedAssertion<T>>
public void setBlocked(LinkedList<LogicalDependency<SimpleMode>> justified)
setBlocked
in interface Activation<T extends ModedAssertion<T>>
public InternalFactHandle getActivationFactHandle()
getActivationFactHandle
in interface Activation<T extends ModedAssertion<T>>
public void setActivationFactHandle(InternalFactHandle factHandle)
setActivationFactHandle
in interface AgendaItem<T extends ModedAssertion<T>>
public ActivationGroupNode getActivationGroupNode()
getActivationGroupNode
in interface Activation<T extends ModedAssertion<T>>
public void setActivationGroupNode(ActivationGroupNode activationNode)
setActivationGroupNode
in interface Activation<T extends ModedAssertion<T>>
public Consequence getConsequence()
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 Activation<T extends ModedAssertion<T>>
getRule
in interface org.kie.api.runtime.rule.Match
public InternalAgendaGroup getAgendaGroup()
getAgendaGroup
in interface Activation<T extends ModedAssertion<T>>
public long getActivationNumber()
Activation
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 Activation<T extends ModedAssertion<T>>
public void dequeue()
dequeue
in interface Activation<T extends ModedAssertion<T>>
public int getQueueIndex()
getQueueIndex
in interface Activation<T extends ModedAssertion<T>>
public void setQueueIndex(int index)
setQueueIndex
in interface Activation<T extends ModedAssertion<T>>
public boolean isQueued()
isQueued
in interface Activation<T extends ModedAssertion<T>>
public void setQueued(boolean queued)
setQueued
in interface Activation<T extends ModedAssertion<T>>
public void addLogicalDependency(LogicalDependency<T> node)
addLogicalDependency
in interface Activation<T extends ModedAssertion<T>>
public LinkedList<SimpleMode> getBlockers()
getBlockers
in interface Activation<T extends ModedAssertion<T>>
public Object getDeclarationValue(String variableName)
getDeclarationValue
in interface org.kie.api.runtime.rule.Match
public RuleAgendaItem getRuleAgendaItem()
getRuleAgendaItem
in interface AgendaItem<T extends ModedAssertion<T>>
public Tuple getTuple()
Activation
Tuple
that was activated.getTuple
in interface Activation<T extends ModedAssertion<T>>
public List<String> getDeclarationIds()
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 Activation<T extends ModedAssertion<T>>
public void setActivationNode(ActivationNode activationNode)
setActivationNode
in interface Activation<T extends ModedAssertion<T>>
public GroupElement getSubRule()
Activation
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 org.kie.api.runtime.rule.Match
public boolean isRuleAgendaItem()
isRuleAgendaItem
in interface Activation<T extends ModedAssertion<T>>
public LinkedList<LogicalDependency<T>> getLogicalDependencies()
getLogicalDependencies
in interface Activation<T extends ModedAssertion<T>>
public void setLogicalDependencies(LinkedList<LogicalDependency<T>> justified)
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 Activation<T extends ModedAssertion<T>>
public JobHandle getJobHandle()
public void setJobHandle(JobHandle jobHandle)
public boolean isEnqueued()
public void setEnqueued(boolean enqueued)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.