|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
public interface TaskManager
| Method Summary | |
|---|---|
TaskControl
|
create(Task task)
Creates a new TaskControl for a given task. |
TaskControl
|
findTask(TaskPredicate predicate)
|
TaskControl
|
getTask(String contextId)
Looks up a task by the specified context id. |
TaskListenerSupport
|
getTaskListenerSupport()
Allows to add listeners. |
Iterable
|
getTasks(TaskPredicate predicate)
Returns a collection of all currently created task conforming to the specified predicate. |
Future
|
submit(Runnable task)
Submits a Runnable object for execution. |
Future
|
submit(Callable task)
Submits a Callable object for execution. |
| Method Detail |
|---|
public TaskControl create(Task task)
public TaskControl findTask(TaskPredicate predicate)
public TaskControl getTask(String contextId)
public TaskListenerSupport getTaskListenerSupport()
public Iterable getTasks(TaskPredicate predicate)
public Future submit(Runnable task)
public Future submit(Callable task)
Groovy Documentation