Package org.drools.core.spi
Interface AgendaGroup
-
- All Superinterfaces:
org.kie.api.runtime.rule.AgendaGroup
- All Known Subinterfaces:
InternalAgendaGroup
,InternalRuleFlowGroup
- All Known Implementing Classes:
AgendaGroupQueueImpl
,RuleFlowGroupImpl
public interface AgendaGroup extends org.kie.api.runtime.rule.AgendaGroup
TheAgenda
can be partitioned into groups, calledAgendaGroup
s.Rule
s can be assigned to theseAgendaGroup
s. Only rules in the focus group can fire.- See Also:
InternalAgenda
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.kie.api.runtime.rule.Match[]
getActivations()
PropagationContext
getAutoFocusActivator()
boolean
isActive()
boolean
isEmpty()
void
setAutoFocusActivator(PropagationContext ctx)
int
size()
-
-
-
Field Detail
-
MAIN
static final String MAIN
Static reference to determine the defaultAgendaGroup
name.- See Also:
- Constant Field Values
-
-
Method Detail
-
getActivations
org.kie.api.runtime.rule.Match[] getActivations()
- Returns:
- An immutable Collection of all the activations in the AgendaGroup
-
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
void setAutoFocusActivator(PropagationContext ctx)
-
getAutoFocusActivator
PropagationContext getAutoFocusActivator()
-
-