Package org.activiti.engine
Interface Agenda
-
- All Known Subinterfaces:
ActivitiEngineAgenda
- All Known Implementing Classes:
DefaultActivitiEngineAgenda
@Internal public interface Agenda
For each API call (and thusCommand) being executed, a new agenda instance is created. On this agenda, operations are put, which theCommandExecutorwill keep executing until all are executed. The agenda also gives easy access to methods to plan new operations when writingActivityBehaviorimplementations. During aCommandexecution, the agenda can always be fetched usingContext.getAgenda().
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.RunnablegetNextOperation()booleanisEmpty()voidplanOperation(java.lang.Runnable operation)Generic method to plan aRunnable.
-