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, readerprogressMonitor| 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, updateChangesetsafterFinish, canRunInBackground, getProgressMonitor, operationCanceled, runprivate 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
PleaseWaitRunnablerealRun in class PleaseWaitRunnableorg.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()
PleaseWaitRunnablefinish in class PleaseWaitRunnable