public interface AgendaItem<T extends ModedAssertion<T>> extends Activation<T>
isActive, setActive
PropagationContext getPropagationContext()
Activation
PropagationContext
for the Activation
getPropagationContext
in interface Activation<T extends ModedAssertion<T>>
void setPropagationContext(PropagationContext context)
RuleImpl getRule()
getRule
in interface Activation<T extends ModedAssertion<T>>
getRule
in interface org.kie.api.runtime.rule.Match
Consequence getConsequence()
getConsequence
in interface Activation<T extends ModedAssertion<T>>
LeftTuple getTuple()
Activation
Tuple
that was activated.getTuple
in interface Activation<T extends ModedAssertion<T>>
int getSalience()
getSalience
in interface Activation<T extends ModedAssertion<T>>
void setSalience(int salience)
InternalFactHandle getFactHandle()
getFactHandle
in interface Activation<T extends ModedAssertion<T>>
void setFactHandle(InternalFactHandle factHandle)
RuleAgendaItem getRuleAgendaItem()
long getActivationNumber()
Activation
getActivationNumber
in interface Activation<T extends ModedAssertion<T>>
void addBlocked(LogicalDependency<SimpleMode> dep)
addBlocked
in interface Activation<T extends ModedAssertion<T>>
void removeAllBlockersAndBlocked(InternalAgenda agenda)
void removeBlocked(LogicalDependency<SimpleMode> dep)
LinkedList<LogicalDependency<SimpleMode>> getBlocked()
getBlocked
in interface Activation<T extends ModedAssertion<T>>
void setBlocked(LinkedList<LogicalDependency<SimpleMode>> justified)
setBlocked
in interface Activation<T extends ModedAssertion<T>>
LinkedList<SimpleMode> getBlockers()
getBlockers
in interface Activation<T extends ModedAssertion<T>>
void addLogicalDependency(LogicalDependency<T> node)
addLogicalDependency
in interface Activation<T extends ModedAssertion<T>>
LinkedList<LogicalDependency<T>> getLogicalDependencies()
getLogicalDependencies
in interface Activation<T extends ModedAssertion<T>>
void setLogicalDependencies(LinkedList<LogicalDependency<T>> justified)
setLogicalDependencies
in interface Activation<T extends ModedAssertion<T>>
boolean isQueued()
isQueued
in interface Activation<T extends ModedAssertion<T>>
void setQueued(boolean queued)
setQueued
in interface Activation<T extends ModedAssertion<T>>
void setQueueIndex(int index)
setQueueIndex
in interface Activation<T extends ModedAssertion<T>>
void dequeue()
dequeue
in interface Activation<T extends ModedAssertion<T>>
int getQueueIndex()
getQueueIndex
in interface Activation<T extends ModedAssertion<T>>
void remove()
Activation
Activation
by removing it from the Agenda
.remove
in interface Activation<T extends ModedAssertion<T>>
ActivationGroupNode getActivationGroupNode()
getActivationGroupNode
in interface Activation<T extends ModedAssertion<T>>
void setActivationGroupNode(ActivationGroupNode activationNode)
setActivationGroupNode
in interface Activation<T extends ModedAssertion<T>>
InternalAgendaGroup getAgendaGroup()
getAgendaGroup
in interface Activation<T extends ModedAssertion<T>>
ActivationNode getActivationNode()
getActivationNode
in interface Activation<T extends ModedAssertion<T>>
void setActivationNode(ActivationNode activationNode)
setActivationNode
in interface Activation<T extends ModedAssertion<T>>
GroupElement getSubRule()
Activation
getSubRule
in interface Activation<T extends ModedAssertion<T>>
TerminalNode getTerminalNode()
org.kie.internal.event.rule.ActivationUnMatchListener getActivationUnMatchListener()
void setActivationUnMatchListener(org.kie.internal.event.rule.ActivationUnMatchListener activationUnMatchListener)
List<org.kie.api.runtime.rule.FactHandle> getFactHandles()
getFactHandles
in interface org.kie.api.runtime.rule.Match
String toExternalForm()
List<Object> getObjects()
getObjects
in interface org.kie.api.runtime.rule.Match
Object getDeclarationValue(String variableName)
getDeclarationValue
in interface org.kie.api.runtime.rule.Match
List<String> getDeclarationIds()
getDeclarationIds
in interface org.kie.api.runtime.rule.Match
boolean isCanceled()
void cancel()
boolean isMatched()
isMatched
in interface Activation<T extends ModedAssertion<T>>
void setMatched(boolean matched)
setMatched
in interface Activation<T extends ModedAssertion<T>>
boolean isRuleAgendaItem()
isRuleAgendaItem
in interface Activation<T extends ModedAssertion<T>>
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.