|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
@Beta public interface TaskQueueingContext
Marks a place where tasks can be added, e.g. a task which allows children to be added (including after it is activated); if the implementer of this is also a task, then it may be picked up by hierarchical methods (e.g. in DynamicTasks).
Method Summary | |
---|---|
java.util.List
|
getQueue()
returns a list of queued tasks (immutable copy) |
Task
|
last()
returns the last task in the queue, or null if none |
void
|
queue(Task t)
queues the task for submission as part of this queueing context; should mark it as submitted |
Method Detail |
---|
public java.util.List getQueue()
public Task last()
public void queue(Task t)
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.