private class CloseChangesetAction.DownloadOpenChangesetsTask extends PleaseWaitRunnable
| Modifier and Type | Field and Description |
|---|---|
private boolean |
canceled |
private java.util.List<Changeset> |
changesets |
private java.lang.Exception |
lastException |
private OsmServerChangesetReader |
reader |
private UserInfo |
userInfo |
progressMonitor| Constructor and Description |
|---|
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.
|
java.lang.Exception |
getLastException() |
boolean |
isCanceled() |
protected void |
realRun()
Called in the worker thread to do the actual work.
|
afterFinish, canRunInBackground, getProgressMonitor, operationCanceled, runprivate boolean canceled
private OsmServerChangesetReader reader
private java.util.List<Changeset> changesets
private java.lang.Exception lastException
public DownloadOpenChangesetsTask()
protected void cancel()
PleaseWaitRunnablecancel in class PleaseWaitRunnableprotected void finish()
PleaseWaitRunnablefinish in class PleaseWaitRunnableprotected UserInfo fetchUserInfo() throws OsmTransferException
OsmTransferException - thrown in case of any communication exceptionprotected void realRun() throws org.xml.sax.SAXException, java.io.IOException, OsmTransferException
PleaseWaitRunnablerealRun in class PleaseWaitRunnableorg.xml.sax.SAXExceptionjava.io.IOExceptionOsmTransferExceptionpublic boolean isCanceled()
public java.lang.Exception getLastException()