public interface Agenda
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()
.Modifier and Type | Method and Description |
---|---|
Runnable |
getNextOperation() |
boolean |
isEmpty() |
void |
planOperation(Runnable operation)
Generic method to plan a
Runnable . |
Copyright © 2017 Alfresco. All rights reserved.