Module is.codion.swing.common.model
Interface ProgressWorker.ProgressResultTask<T,V>
- Type Parameters:
T
- the task result typeV
- the intermediate result type
- Enclosing class:
- ProgressWorker<T,
V>
public static interface ProgressWorker.ProgressResultTask<T,V>
A progress aware background task producing a result.
-
Method Summary
Modifier and TypeMethodDescriptionexecute
(ProgressWorker.ProgressReporter<V> progressReporter) Executes the task.
-
Method Details
-
execute
Executes the task.- Parameters:
progressReporter
- the progress reporter to report a message or progress (0 - maximumProgress).- Returns:
- the task result
- Throws:
Exception
- in case of an exception
-