Class DownloadOsmTask.AbstractInternalTask

java.lang.Object
org.openstreetmap.josm.gui.PleaseWaitRunnable
org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask.AbstractInternalTask
All Implemented Interfaces:
Runnable, ProgressMonitor.CancelListener
Direct Known Subclasses:
DownloadOsmTask.DownloadTask, LoadDataHandler.LoadDataTask
Enclosing class:
DownloadOsmTask

public abstract static class DownloadOsmTask.AbstractInternalTask extends PleaseWaitRunnable
Superclass of internal download task.
Since:
7636
  • Field Details

  • Constructor Details

    • AbstractInternalTask

      protected AbstractInternalTask(DownloadParams settings, String title, boolean ignoreException, boolean zoomAfterDownload)
      Constructs a new AbstractInternalTask.
      Parameters:
      settings - download settings
      title - message for the user
      ignoreException - If true, exception will be propagated to calling code. If false then exception will be thrown directly in EDT. When this runnable is executed using executor framework then use false unless you read result of task (because exception will get lost if you don't)
      zoomAfterDownload - If true, the map view will zoom to download area after download
    • AbstractInternalTask

      protected AbstractInternalTask(DownloadParams settings, String title, ProgressMonitor progressMonitor, boolean ignoreException, boolean zoomAfterDownload)
      Constructs a new AbstractInternalTask.
      Parameters:
      settings - download settings
      title - message for the user
      progressMonitor - progress monitor
      ignoreException - If true, exception will be propagated to calling code. If false then exception will be thrown directly in EDT. When this runnable is executed using executor framework then use false unless you read result of task (because exception will get lost if you don't)
      zoomAfterDownload - If true, the map view will zoom to download area after download
  • Method Details