public final class TaskManager extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
executeTask(Task task,
File file)
Executes the given task with the given file.
|
Task |
findTask(String taskName)
Finds a task given the name.
|
static TaskManager |
getInstance()
Gets the singleton instance of this class.
|
void |
registerGraphicsPolicy(GraphicsPolicy policy)
Registers the given graphics policy with this class.
|
public static TaskManager getInstance()
public void registerGraphicsPolicy(GraphicsPolicy policy)
policy - The graphics policy.public Task findTask(String taskName)
taskName - The task name.Copyright © 2016. All rights reserved.