org.openstreetmap.josm.actions.downloadtasks
Class PostDownloadHandler
java.lang.Object
org.openstreetmap.josm.actions.downloadtasks.PostDownloadHandler
- All Implemented Interfaces:
- java.lang.Runnable
public class PostDownloadHandler
- extends java.lang.Object
- implements java.lang.Runnable
Method Summary |
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
task
private DownloadTask task
futures
private java.util.List<java.util.concurrent.Future<?>> futures
PostDownloadHandler
public PostDownloadHandler(DownloadTask task,
java.util.concurrent.Future<?> future)
- constructor
- Parameters:
task
- the asynchronous download taskfuture
- 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 taskfutures
- 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 taskfutures
- the futures on which the completion of the download task can be synchronized
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
JOSM