Module is.codion.swing.common.model
Interface ProgressWorker.ProgressResultTaskHandler<T,V>
- Type Parameters:
T- the task result typeV- the intermediate result type
- All Superinterfaces:
ProgressWorker.Handler,ProgressWorker.ProgressHandler<V>,ProgressWorker.ProgressResultTask<T,V>
- Enclosing class:
ProgressWorker<T,V>
public static interface ProgressWorker.ProgressResultTaskHandler<T,V>
extends ProgressWorker.ProgressResultTask<T,V>, ProgressWorker.ProgressHandler<V>
A
ProgressWorker.ProgressResultTask combined with ProgressWorker.ProgressHandler, for encapsulating a progress-aware,
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.ProgressHandler
onProgress, onPublishMethods inherited from interface is.codion.swing.common.model.worker.ProgressWorker.ProgressResultTask
execute, maximum
-
Method Details
-
onResult
Called on the Event Dispatch Thread after a successful execution, afterProgressWorker.Handler.onSuccess().- Parameters:
result- the task result
-