|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ITaskService
The task should always be referenced with the taskId in the Wicket page, so there is no public getTask(...) method!
| Method Summary | |
|---|---|
void |
cancel(Long taskId)
Cancel the task with given taskId. |
void |
finish(Long taskId)
Cleanup the task with the given taskId and remove it from the task service. |
List<Task.Message> |
getMessages(Long taskId)
|
org.wicketstuff.progressbar.Progression |
getProgression(Long taskId)
Get the current progression of a task. |
Long |
schedule(Task task)
Schedules the task, but doesn't start! |
Long |
scheduleAndStart(Task task)
Schedule and start a task. |
void |
start(Long taskId)
Start the task with given taskId |
| Method Detail |
|---|
Long schedule(Task task)
task - The task to schedule
void start(Long taskId)
taskId - void cancel(Long taskId)
taskId - void finish(Long taskId)
taskId - Long scheduleAndStart(Task task)
Long taskId = taskService.schedule(task); taskService.start(taskId);
task -
org.wicketstuff.progressbar.Progression getProgression(Long taskId)
taskId -
List<Task.Message> getMessages(Long taskId)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||