|
||||||||||
| 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 assert, modify, retract are assgigned the same Activation number.
| Method Summary | |
|---|---|
void |
addLogicalDependency(LogicalDependency node)
|
ActivationGroupNode |
getActivationGroupNode()
|
long |
getActivationNumber()
Retrieve the activation number. |
AgendaGroup |
getAgendaGroup()
|
LinkedList |
getLogicalDependencies()
|
PropagationContext |
getPropagationContext()
Retrieve the PropagationContext for the Activation |
Rule |
getRule()
Retrieve the Rule that was activated. |
RuleFlowGroupNode |
getRuleFlowGroupNode()
|
GroupElement |
getSubRule()
Retrieve the subrule that was activated. |
Tuple |
getTuple()
Retrieve the Tuple that was activated. |
boolean |
isActivated()
|
void |
remove()
Cancel the Activation by removing it from the Agenda. |
void |
setActivated(boolean activated)
|
void |
setActivationGroupNode(ActivationGroupNode activationGroupNode)
|
void |
setLogicalDependencies(LinkedList justified)
|
void |
setRuleFlowGroupNode(RuleFlowGroupNode ruleFlowGroupNode)
|
| Method Detail |
|---|
Rule getRule()
Rule that was activated.
GroupElement getSubRule()
Tuple getTuple()
Tuple that was activated.
PropagationContext getPropagationContext()
PropagationContext for the Activation
long getActivationNumber()
void remove()
Activation by removing it from the Agenda.
void addLogicalDependency(LogicalDependency node)
LinkedList getLogicalDependencies()
void setLogicalDependencies(LinkedList justified)
boolean isActivated()
void setActivated(boolean activated)
AgendaGroup getAgendaGroup()
ActivationGroupNode getActivationGroupNode()
void setActivationGroupNode(ActivationGroupNode activationGroupNode)
RuleFlowGroupNode getRuleFlowGroupNode()
void setRuleFlowGroupNode(RuleFlowGroupNode ruleFlowGroupNode)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||