org.drools.spi
Interface AgendaGroup
- All Superinterfaces:
- org.drools.runtime.rule.AgendaGroup, Externalizable, Serializable
- All Known Subinterfaces:
- InternalAgendaGroup
- All Known Implementing Classes:
- ArrayAgendaGroup, BinaryHeapQueueAgendaGroup
public interface AgendaGroup
- extends Externalizable, org.drools.runtime.rule.AgendaGroup
The Agenda
can be partitioned into groups, called AgendaGroup
s. Rule
s can be assigned to
these AgendaGroup
s. Only rules in the focus group can fire.
- See Also:
DefaultAgenda
Field Summary |
static String |
MAIN
Static reference to determine the default AgendaGroup name. |
Methods inherited from interface org.drools.runtime.rule.AgendaGroup |
clear, getName, setFocus |
MAIN
static final String MAIN
- Static reference to determine the default
AgendaGroup
name.
- See Also:
- Constant Field Values
getActivations
org.drools.runtime.rule.Activation[] 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.
Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.