class ChangesetHeaderDownloadTask.DownloadTask extends AbstractChangesetDownloadTask.RunnableDownloadTask
Modifier and Type | Field and Description |
---|---|
private boolean |
includeDiscussion
whether to include discussions or not
|
private java.util.Set<java.lang.Integer> |
toDownload
the list of changeset ids to download
|
downloadedChangesets, lastException, reader
progressMonitor
Constructor and Description |
---|
DownloadTask(java.awt.Component parent,
java.util.Collection<java.lang.Integer> ids,
boolean includeDiscussion) |
Modifier and Type | Method and Description |
---|---|
protected void |
finish()
Finish up the data work.
|
protected void |
realRun()
Called in the worker thread to do the actual work.
|
cancel, rememberLastException, updateChangesets
afterFinish, canRunInBackground, getProgressMonitor, operationCanceled, run
private final java.util.Set<java.lang.Integer> toDownload
private final boolean includeDiscussion
DownloadTask(java.awt.Component parent, java.util.Collection<java.lang.Integer> ids, boolean includeDiscussion)
protected void realRun() throws org.xml.sax.SAXException, java.io.IOException, OsmTransferException
PleaseWaitRunnable
realRun
in class PleaseWaitRunnable
org.xml.sax.SAXException
- if a SAX error occursjava.io.IOException
- if an I/O error occursOsmTransferException
- if a communication error with the OSM server occursprotected void finish()
PleaseWaitRunnable
finish
in class PleaseWaitRunnable