Package org.activiti.engine
Interface Agenda
- All Known Subinterfaces:
ActivitiEngineAgenda
- All Known Implementing Classes:
DefaultActivitiEngineAgenda
For each API call (and thus
Command) being executed, a new agenda instance is created.
On this agenda, operations are put, which the CommandExecutor will keep executing until
all are executed.
The agenda also gives easy access to methods to plan new operations when writing
ActivityBehavior implementations.
During a Command execution, the agenda can always be fetched using Context.getAgenda().-
Method Summary
Modifier and TypeMethodDescriptionbooleanisEmpty()voidplanOperation(Runnable operation) Generic method to plan aRunnable.