Module is.codion.swing.common.model
Interface ProgressWorker.ProgressTask<T,V>
- Type Parameters:
T- the task result typeV- the intermediate result type
- Enclosing class:
- ProgressWorker<T,
V>
public static interface ProgressWorker.ProgressTask<T,V>
A progress aware background task.
-
Method Summary
Modifier and TypeMethodDescriptionperform(ProgressWorker.ProgressReporter<V> progressReporter) Performs the task.
-
Method Details
-
perform
Performs 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
-