org.openstreetmap.josm.actions.downloadtasks
Class PostDownloadHandler

java.lang.Object
  extended by org.openstreetmap.josm.actions.downloadtasks.PostDownloadHandler
All Implemented Interfaces:
java.lang.Runnable

public class PostDownloadHandler
extends java.lang.Object
implements java.lang.Runnable


Field Summary
private  java.util.List<java.util.concurrent.Future<?>> futures
           
private  DownloadTask task
           
 
Constructor Summary
PostDownloadHandler(DownloadTask task, java.util.concurrent.Future<?>... futures)
          constructor
PostDownloadHandler(DownloadTask task, java.util.concurrent.Future<?> future)
          constructor
PostDownloadHandler(DownloadTask task, java.util.List<java.util.concurrent.Future<?>> futures)
          constructor
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

task

private DownloadTask task

futures

private java.util.List<java.util.concurrent.Future<?>> futures
Constructor Detail

PostDownloadHandler

public PostDownloadHandler(DownloadTask task,
                           java.util.concurrent.Future<?> future)
constructor

Parameters:
task - the asynchronous download task
future - the future on which the completion of the download task can be synchronized

PostDownloadHandler

public PostDownloadHandler(DownloadTask task,
                           java.util.concurrent.Future<?>... futures)
constructor

Parameters:
task - the asynchronous download task
futures - the futures on which the completion of the download task can be synchronized

PostDownloadHandler

public PostDownloadHandler(DownloadTask task,
                           java.util.List<java.util.concurrent.Future<?>> futures)
constructor

Parameters:
task - the asynchronous download task
futures - the futures on which the completion of the download task can be synchronized
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable


JOSM