|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TaskController
A control interface to control tasks of the active component to which this interface belongs.
Method Summary | |
---|---|
void |
addTask(Task task,
Map<String,Object> hints)
Adds a new task in this controller |
Task[] |
getTasks()
Returns the tasks of the component to which this interface belongs. |
void |
removeTask(Task task)
Removes a task. |
Method Detail |
---|
Task[] getTasks()
void addTask(Task task, Map<String,Object> hints) throws IllegalTaskException
task
- a new task.hints
- registration hints.
IllegalTaskException
- if the task component can't be registered.TaskManager.registerTask(Task,
Map)
void removeTask(Task task) throws NoSuchTaskException, IllegalTaskException
task
- the task to remove.
NoSuchTaskException
- if the given task component is unknown.
IllegalTaskException
- if the given task can't be unregistered.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |