public interface TaskStatusListener
Modifier and Type | Method and Description |
---|---|
<RT> void |
taskEnded(Task<RT> aTask,
RT aResult)
Called when a task is ended normally.
|
<RT> void |
taskFailed(Task<RT> aTask,
Exception aException)
Called when a task is started.
|
<RT> void |
taskStarted(Task<RT> aTask)
Called when a task is started.
|
<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
.Copyright © 2015 L'Xtreme IT consultancy. All rights reserved.