public interface IAgenda
Modifier and Type | Method and Description |
---|---|
void |
addAgendaListener(IAgendaListener listener)
Add an agenda listener.
|
void |
fireRule()
Fire one activated rule.
|
java.util.Collection |
getActivations()
Get the current activations.
|
java.util.List |
getHistory()
Get the history.
|
Activation |
getLastActivation()
The last activation.
|
Activation |
getNextActivation()
Get the next activation.
|
int |
getState()
Get the state of the agenda.
|
boolean |
isEmpty()
Test if the agenda is empty.
|
boolean |
isHistoryEnabled()
Get the history mode.
|
void |
removeAgendaListener(IAgendaListener listener)
Remove an agenda listener.
|
void |
setHistoryEnabled(boolean enabled)
Set the history mode.
|
void |
setNextActivation(Activation next)
Set the next activation.
|
void fireRule()
java.util.Collection getActivations()
boolean isEmpty()
int getState()
Activation getLastActivation()
Activation getNextActivation()
void setNextActivation(Activation next)
boolean isHistoryEnabled()
void setHistoryEnabled(boolean enabled)
java.util.List getHistory()
void addAgendaListener(IAgendaListener listener)
void removeAgendaListener(IAgendaListener listener)