public interface IWorkerCallback<RESULT_TYPE,PROGRESS_TYPE> extends IWorkerProgressCallback<PROGRESS_TYPE>
Modifier and Type | Method and Description |
---|---|
void |
canceled()
Will be invoked if the worker was canceled before finishing
|
void |
exception(java.lang.Throwable exception)
Will be invoked if an exception has been occurred
|
void |
finished(RESULT_TYPE result)
Will be invoked after the worker has finished.
|
progress
void finished(RESULT_TYPE result)
result
- The result of the workervoid canceled()
void exception(java.lang.Throwable exception)
exception
- The exception that has been occurredSiehe auch Jowidgets Nutzerhandbuch