Interface Agenda

All Known Subinterfaces:
ActivitiEngineAgenda
All Known Implementing Classes:
DefaultActivitiEngineAgenda

@Internal public interface Agenda
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 Details

    • isEmpty

      boolean isEmpty()
    • getNextOperation

      Runnable getNextOperation()
    • planOperation

      void planOperation(Runnable operation)
      Generic method to plan a Runnable.