Module is.codion.swing.common.model
Interface ProgressWorker.ResultTaskHandler<T>
- Type Parameters:
T- the task result type
- All Superinterfaces:
ProgressWorker.Handler,ProgressWorker.ResultTask<T>
- Enclosing class:
ProgressWorker<T,V>
public static interface ProgressWorker.ResultTaskHandler<T>
extends ProgressWorker.ResultTask<T>, ProgressWorker.Handler
A
ProgressWorker.ResultTask combined with ProgressWorker.Handler, for encapsulating a result-producing background task
and its handlers in a single class.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidCalled on the Event Dispatch Thread after a successful execution, afterProgressWorker.Handler.onSuccess().Methods inherited from interface is.codion.swing.common.model.worker.ProgressWorker.Handler
onCancelled, onDone, onException, onInterrupted, onStarted, onSuccessMethods inherited from interface is.codion.swing.common.model.worker.ProgressWorker.ResultTask
execute
-
Method Details
-
onResult
Called on the Event Dispatch Thread after a successful execution, afterProgressWorker.Handler.onSuccess().- Parameters:
result- the task result
-