public class AgendaItemImpl<T extends ModedAssertion<T>> extends Object implements AgendaItem<T>
Agenda.| Constructor and Description |
|---|
AgendaItemImpl() |
AgendaItemImpl(long activationNumber,
Tuple tuple,
int salience,
PropagationContext context,
TerminalNode rtn,
InternalAgendaGroup agendaGroup)
Construct.
|
public AgendaItemImpl()
public AgendaItemImpl(long activationNumber,
Tuple tuple,
int salience,
PropagationContext context,
TerminalNode rtn,
InternalAgendaGroup agendaGroup)
tuple - The tuple.agendaGroup - public PropagationContext getPropagationContext()
ActivationPropagationContext for the ActivationgetPropagationContext in interface Activation<T extends ModedAssertion<T>>public void setPropagationContext(PropagationContext context)
setPropagationContext 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.Matchpublic Consequence getConsequence()
getConsequence in interface Activation<T extends ModedAssertion<T>>public Tuple getTuple()
getTuple in interface Activation<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 InternalFactHandle getActivationFactHandle()
getActivationFactHandle in interface Activation<T extends ModedAssertion<T>>public void setActivationFactHandle(InternalFactHandle factHandle)
setActivationFactHandle in interface AgendaItem<T extends ModedAssertion<T>>public RuleAgendaItem getRuleAgendaItem()
getRuleAgendaItem in interface AgendaItem<T extends ModedAssertion<T>>public long getActivationNumber()
ActivationgetActivationNumber in interface Activation<T extends ModedAssertion<T>>public void addBlocked(LogicalDependency<SimpleMode> dep)
addBlocked in interface Activation<T extends ModedAssertion<T>>public void removeAllBlockersAndBlocked(InternalAgenda agenda)
removeAllBlockersAndBlocked in interface AgendaItem<T extends ModedAssertion<T>>public void removeBlocked(LogicalDependency<SimpleMode> dep)
removeBlocked 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 LinkedList<SimpleMode> getBlockers()
getBlockers in interface Activation<T extends ModedAssertion<T>>public void addLogicalDependency(LogicalDependency<T> node)
addLogicalDependency 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 boolean isQueued()
isQueued in interface Activation<T extends ModedAssertion<T>>public void setQueued(boolean queued)
setQueued in interface Activation<T extends ModedAssertion<T>>public int hashCode()
TupleKey as the hashCode of the AgendaItempublic void setQueueIndex(int index)
setQueueIndex 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 remove()
ActivationActivation by removing it from the Agenda.remove in interface Activation<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 InternalAgendaGroup getAgendaGroup()
getAgendaGroup in interface Activation<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()
ActivationgetSubRule in interface Activation<T extends ModedAssertion<T>>public TerminalNode getTerminalNode()
getTerminalNode in interface AgendaItem<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 List<org.kie.api.runtime.rule.FactHandle> getFactHandles()
getFactHandles in interface AgendaItem<T extends ModedAssertion<T>>getFactHandles in interface org.kie.api.runtime.rule.Matchpublic String toExternalForm()
toExternalForm in interface AgendaItem<T extends ModedAssertion<T>>public List<Object> getObjects()
getObjects in interface org.kie.api.runtime.rule.Matchpublic Object getDeclarationValue(String variableName)
getDeclarationValue in interface org.kie.api.runtime.rule.Matchpublic List<String> getDeclarationIds()
getDeclarationIds in interface org.kie.api.runtime.rule.Matchpublic boolean isCanceled()
isCanceled in interface AgendaItem<T extends ModedAssertion<T>>public void cancel()
cancel 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 boolean isRuleAgendaItem()
isRuleAgendaItem in interface Activation<T extends ModedAssertion<T>>public boolean isRuleInUse()
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.