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 AgendaGroups. Rules can be assigned to these AgendaGroups. Only rules in the focus group can fire.

See Also:
DefaultAgenda

Field Summary
static String MAIN
          Static reference to determine the default AgendaGroup name.
 
Method Summary
 org.drools.runtime.rule.Activation[] getActivations()
           
 boolean isActive()
           
 boolean isEmpty()
           
 int size()
           
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 
Methods inherited from interface org.drools.runtime.rule.AgendaGroup
clear, getName, setFocus
 

Field Detail

MAIN

static final String MAIN
Static reference to determine the default AgendaGroup name.

See Also:
Constant Field Values
Method Detail

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.