Interface ProgressWorker.ProgressResultTaskHandler<T,V>

Type Parameters:
T - the task result type
V - 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 Details

    • onResult

      default void onResult(T result)
      Called on the Event Dispatch Thread after a successful execution, after ProgressWorker.Handler.onSuccess().
      Parameters:
      result - the task result