|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Activation
When a Tuple
fully matches a rule it is added to the Agenda
As an Activation
. Each Activation
is assigned a number, this
number is determined by the WorkingMemory
all Activations
created
from a single insert, update, retract are assgigned the same Activation number.
Methods inherited from interface org.drools.runtime.rule.Activation |
---|
getDeclarationIDs, getDeclarationValue, getFactHandles, getObjects, isActive |
Method Detail |
---|
Rule getRule()
getRule
in interface org.drools.runtime.rule.Activation
int getSalience()
GroupElement getSubRule()
long getActivationNumber()
LeftTuple getTuple()
Tuple
that was activated.
PropagationContext getPropagationContext()
PropagationContext
for the Activation
getPropagationContext
in interface org.drools.runtime.rule.Activation
void remove()
Activation
by removing it from the Agenda
.
void addBlocked(LinkedListNode node)
LinkedList getBlocked()
void setBlocked(LinkedList justified)
LinkedList getBlockers()
void addLogicalDependency(LogicalDependency node)
LinkedList getLogicalDependencies()
void setLogicalDependencies(LinkedList justified)
void setActivated(boolean activated)
boolean isActivated()
AgendaGroup getAgendaGroup()
ActivationGroupNode getActivationGroupNode()
void setActivationGroupNode(ActivationGroupNode activationGroupNode)
ActivationNode getActivationNode()
void setActivationNode(ActivationNode ruleFlowGroupNode)
InternalFactHandle getFactHandle()
boolean isMatched()
void setMatched(boolean matched)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |