public interface Agenda extends Session
| Modifier and Type | Method and Description |
|---|---|
Runnable |
getNextOperation()
Get next operation from agenda and remove operation from the queue.
|
boolean |
isEmpty()
Returns whether there currently are operations planned on the agenda.
|
Runnable |
peekOperation()
Get next operation from agenda and keep operation on the top of the agenda
|
void |
planOperation(Runnable operation)
Plan operation for execution
|
boolean isEmpty()
Runnable getNextOperation()
{@link - org.flowable.engine.common.api.FlowableException} in the case when agenda is emptyRunnable peekOperation()
{@link - org.flowable.engine.common.api.FlowableException} in the case when agenda is emptyvoid planOperation(Runnable operation)
operation - operation to runCopyright © 2017 Flowable. All rights reserved.