01: package org.drools.common;
02:
03: import org.drools.Agenda;
04: import org.drools.spi.Activation;
05: import org.drools.spi.AgendaFilter;
06: import org.drools.spi.AgendaGroup;
07: import org.drools.spi.ConsequenceException;
08:
09: public interface InternalAgenda extends Agenda {
10:
11: public void fireActivation(final Activation activation)
12: throws ConsequenceException;
13:
14: public void removeScheduleItem(final ScheduledAgendaItem item);
15:
16: public boolean fireNextItem(AgendaFilter filter)
17: throws ConsequenceException;
18:
19: public void scheduleItem(final ScheduledAgendaItem item);
20:
21: public void addAgendaGroup(final AgendaGroup agendaGroup);
22:
23: public void increaseActiveActivations();
24:
25: public void decreaseActiveActivations();
26:
27: public void increaseDormantActivations();
28:
29: public void decreaseDormantActivations();
30:
31: public int getActiveActivations();
32:
33: public int getDormantActivations();
34:
35: }
|