|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ReturnT - public interface IgnitedAsyncTaskContextHandler<ProgressT,ReturnT>
To be implemented by Context classes that whish to receive callbacks about task status
and progress updates.
| Method Summary | |
|---|---|
boolean |
onTaskCompleted(ReturnT result)
Return true from this method if you want to swallow the event; it will then not be passed on to the task itself. |
boolean |
onTaskFailed(Exception error)
Return true from this method if you want to swallow the event; it will then not be passed on to the task itself. |
boolean |
onTaskProgress(ProgressT... progress)
Return true from this method if you want to swallow the event; it will then not be passed on to the task itself. |
boolean |
onTaskStarted()
Return true from this method if you want to swallow the event; it will then not be passed on to the task itself. |
boolean |
onTaskSuccess(ReturnT result)
Return true from this method if you want to swallow the event; it will then not be passed on to the task itself. |
| Method Detail |
|---|
boolean onTaskStarted()
boolean onTaskProgress(ProgressT... progress)
boolean onTaskCompleted(ReturnT result)
boolean onTaskSuccess(ReturnT result)
boolean onTaskFailed(Exception error)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||