private final class CloseChangesetAction.DownloadOpenChangesetsTask extends PleaseWaitRunnable
Modifier and Type | Field and Description |
---|---|
private boolean |
canceled |
private List<Changeset> |
changesets |
private Exception |
lastException |
private OsmServerChangesetReader |
reader |
private UserInfo |
userInfo |
progressMonitor
Modifier | Constructor and Description |
---|---|
private |
DownloadOpenChangesetsTask() |
Modifier and Type | Method and Description |
---|---|
protected void |
cancel()
User pressed cancel button.
|
protected UserInfo |
fetchUserInfo()
Fetch the user info from the server.
|
protected void |
finish()
Finish up the data work.
|
Exception |
getLastException() |
boolean |
isCanceled() |
protected void |
realRun()
Called in the worker thread to do the actual work.
|
afterFinish, canRunInBackground, getProgressMonitor, operationCanceled, run
private boolean canceled
private OsmServerChangesetReader reader
private List<Changeset> changesets
private Exception lastException
private DownloadOpenChangesetsTask()
protected void cancel()
PleaseWaitRunnable
cancel
in class PleaseWaitRunnable
protected void finish()
PleaseWaitRunnable
finish
in class PleaseWaitRunnable
protected UserInfo fetchUserInfo() throws OsmTransferException
OsmTransferException
- in case of any communication exceptionprotected void realRun() throws SAXException, IOException, OsmTransferException
PleaseWaitRunnable
realRun
in class PleaseWaitRunnable
SAXException
- if a SAX error occursIOException
- if an I/O error occursOsmTransferException
- if a communication error with the OSM server occurspublic boolean isCanceled()
public Exception getLastException()