Package org.drools.core.common
Interface InternalAgendaGroup
- All Superinterfaces:
AgendaGroup
- All Known Subinterfaces:
InternalRuleFlowGroup
- All Known Implementing Classes:
AgendaGroupQueueImpl
-
Field Summary
Fields inherited from interface org.kie.api.runtime.rule.AgendaGroup
MAIN -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(RuleAgendaItem activation) voidaddNodeInstance(Object processInstanceId, String nodeInstanceId) longlongvoidhasRuleFlowListener(boolean hasRuleFlowLister) booleanisActive()booleanbooleanisEmpty()booleanbooleanpeek()remove()voidremove(RuleAgendaItem activation) voidremoveNodeInstance(Object processInstanceId, String nodeInstanceId) voidreset()voidsetActivatedForRecency(long recency) voidsetActive(boolean activate) voidsetAutoDeactivate(boolean autoDeactivate) Sets the auto-deactivate status of this RuleFlowGroup.voidvoidsetClearedForRecency(long recency) voidsetReteEvaluator(ReteEvaluator reteEvaluator) intsize()voidvisited()Methods inherited from interface org.kie.api.runtime.rule.AgendaGroup
clear, getName, setFocus
-
Method Details
-
size
int size()- Returns:
- The int total number of activations
-
isEmpty
boolean isEmpty()- Returns:
- boolean value indicating if this AgendaGroup is empty or not
-
isActive
boolean isActive()- Returns:
- boolean value indicating if the AgendaGroup is active and thus being evaluated.
-
setAutoFocusActivator
-
getAutoFocusActivator
PropagationContext getAutoFocusActivator() -
setAutoDeactivate
void setAutoDeactivate(boolean autoDeactivate) Sets the auto-deactivate status of this RuleFlowGroup. If this is set to true, an active RuleFlowGroup automatically deactivates if it has no more activations. If it had no activations when it was activated, it will be deactivated immediately. -
isAutoDeactivate
boolean isAutoDeactivate() -
reset
void reset() -
add
-
peek
RuleAgendaItem peek() -
remove
RuleAgendaItem remove() -
remove
-
setActive
void setActive(boolean activate) -
setActivatedForRecency
void setActivatedForRecency(long recency) -
getActivatedForRecency
long getActivatedForRecency() -
setClearedForRecency
void setClearedForRecency(long recency) -
getClearedForRecency
long getClearedForRecency() -
addNodeInstance
-
removeNodeInstance
-
getActivations
Collection<RuleAgendaItem> getActivations() -
getNodeInstances
-
visited
void visited() -
setReteEvaluator
-
hasRuleFlowListener
void hasRuleFlowListener(boolean hasRuleFlowLister) -
isRuleFlowListener
boolean isRuleFlowListener() -
isSequential
boolean isSequential()
-