Interface ProgressWorker.ProgressHandler<V>

Type Parameters:
V - the intermediate result type
All Superinterfaces:
ProgressWorker.Handler
All Known Subinterfaces:
ProgressWorker.ProgressResultTaskHandler<T,V>, ProgressWorker.ProgressTaskHandler<V>
All Known Implementing Classes:
DomainGeneratorModel.PopulateTask
Enclosing class:
ProgressWorker<T,V>

public static interface ProgressWorker.ProgressHandler<V> extends ProgressWorker.Handler
Extends ProgressWorker.Handler with progress and publish handlers.
See Also:
  • Method Details

    • onProgress

      default void onProgress(int progress)
      Called on the Event Dispatch Thread when progress is reported.
      Parameters:
      progress - the progress value
    • onPublish

      default void onPublish(List<V> chunks)
      Called on the Event Dispatch Thread when intermediate results are available.
      Parameters:
      chunks - the published chunks