static class ValidateAction.ValidationTask extends PleaseWaitRunnable
| Modifier and Type | Field and Description |
|---|---|
private boolean |
canceled |
private java.util.List<TestError> |
errors |
private java.util.Collection<OsmPrimitive> |
formerValidatedPrimitives |
private java.util.Collection<Test> |
tests |
private java.util.Collection<OsmPrimitive> |
validatedPrimitives |
progressMonitor| Constructor and Description |
|---|
ValidationTask(java.util.Collection<Test> tests,
java.util.Collection<OsmPrimitive> validatedPrimitives,
java.util.Collection<OsmPrimitive> formerValidatedPrimitives)
Constructs a new
ValidationTask |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cancel()
User pressed cancel button.
|
protected void |
finish()
Finish up the data work.
|
protected void |
realRun()
Called in the worker thread to do the actual work.
|
afterFinish, canRunInBackground, getProgressMonitor, operationCanceled, runprivate final java.util.Collection<OsmPrimitive> validatedPrimitives
private final java.util.Collection<OsmPrimitive> formerValidatedPrimitives
private boolean canceled
ValidationTask(java.util.Collection<Test> tests, java.util.Collection<OsmPrimitive> validatedPrimitives, java.util.Collection<OsmPrimitive> formerValidatedPrimitives)
ValidationTasktests - the tests to runvalidatedPrimitives - the collection of primitives to validate.formerValidatedPrimitives - the last collection of primitives being validates. May be null.protected void cancel()
PleaseWaitRunnablecancel in class PleaseWaitRunnableprotected void finish()
PleaseWaitRunnablefinish in class PleaseWaitRunnableprotected 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 occurs