public class AgendaItemImpl<T extends ModedAssertion<T>> extends Object implements AgendaItem<T>
Agenda.| Constructor and Description |
|---|
AgendaItemImpl() |
AgendaItemImpl(long activationNumber,
LeftTuple tuple,
int salience,
PropagationContext context,
TerminalNode rtn,
InternalAgendaGroup agendaGroup)
Construct.
|
public AgendaItemImpl()
public AgendaItemImpl(long activationNumber,
LeftTuple tuple,
int salience,
PropagationContext context,
TerminalNode rtn,
InternalAgendaGroup agendaGroup)
tuple - The tuple.agendaGroup - public PropagationContext getPropagationContext()
ActivationPropagationContext for the ActivationgetPropagationContext 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 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.Matchpublic Consequence getConsequence()
getConsequence in interface AgendaItem<T extends ModedAssertion<T>>getConsequence in interface Activation<T extends ModedAssertion<T>>public LeftTuple getTuple()
getTuple in interface AgendaItem<T extends ModedAssertion<T>>getTuple in interface Activation<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 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 RuleAgendaItem getRuleAgendaItem()
getRuleAgendaItem in interface AgendaItem<T extends ModedAssertion<T>>public long getActivationNumber()
ActivationgetActivationNumber in interface AgendaItem<T extends ModedAssertion<T>>getActivationNumber in interface Activation<T extends ModedAssertion<T>>public void addBlocked(LogicalDependency<SimpleMode> dep)
addBlocked in interface AgendaItem<T extends ModedAssertion<T>>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 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 LinkedList<SimpleMode> getBlockers()
getBlockers in interface AgendaItem<T extends ModedAssertion<T>>getBlockers 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<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 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 String toString()
toString in interface AgendaItem<T extends ModedAssertion<T>>toString in class Objectpublic boolean equals(Object object)
equals in interface AgendaItem<T extends ModedAssertion<T>>equals in class Objectpublic int hashCode()
TupleKey as the hashCode of the AgendaItemhashCode in interface AgendaItem<T extends ModedAssertion<T>>hashCode in class Objectpublic void setQueueIndex(int index)
setQueueIndex in interface AgendaItem<T extends ModedAssertion<T>>setQueueIndex 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 remove()
ActivationActivation by removing it from the Agenda.remove in interface AgendaItem<T extends ModedAssertion<T>>remove in interface Activation<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 InternalAgendaGroup getAgendaGroup()
getAgendaGroup in interface AgendaItem<T extends ModedAssertion<T>>getAgendaGroup in interface Activation<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()
ActivationgetSubRule in interface AgendaItem<T extends ModedAssertion<T>>getSubRule 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 AgendaItem<T extends ModedAssertion<T>>getObjects in interface org.kie.api.runtime.rule.Matchpublic Object getDeclarationValue(String variableName)
getDeclarationValue in interface AgendaItem<T extends ModedAssertion<T>>getDeclarationValue in interface org.kie.api.runtime.rule.Matchpublic List<String> getDeclarationIds()
getDeclarationIds in interface AgendaItem<T extends ModedAssertion<T>>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 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 boolean isRuleAgendaItem()
isRuleAgendaItem in interface AgendaItem<T extends ModedAssertion<T>>isRuleAgendaItem in interface Activation<T extends ModedAssertion<T>>Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.