|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TaskStatusListener
Callback interface to listen for state changes of tasks.
Method Summary | ||
---|---|---|
|
taskEnded(Task<RT> aTask,
RT aResult)
Called when a task is ended normally. |
|
|
taskFailed(Task<RT> aTask,
Exception aException)
Called when a task is started. |
|
|
taskStarted(Task<RT> aTask)
Called when a task is started. |
Method Detail |
---|
<RT> void taskEnded(Task<RT> aTask, RT aResult)
aTask
- the task that is ended, never null
;aResult
- the result of the task, can be null
.<RT> void taskFailed(Task<RT> aTask, Exception aException)
aTask
- the task that is started, never null
;aException
- the exception that was thrown when the task failed, never
null
.<RT> void taskStarted(Task<RT> aTask)
aTask
- the task that is started, never null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |