Package org.openstreetmap.josm.gui.io
Class UploadNoteLayerTask
java.lang.Object
org.openstreetmap.josm.gui.io.AbstractIOTask
org.openstreetmap.josm.gui.io.UploadNoteLayerTask
- All Implemented Interfaces:
Runnable
UploadNoteLayerTask uploads the data managed by an
NoteLayer asynchronously.- Since:
- 8474
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUploadNoteLayerTask(NoteLayer layer, ProgressMonitor monitor) Creates the upload task. -
Method Summary
Methods inherited from class org.openstreetmap.josm.gui.io.AbstractIOTask
getLastException, isCanceled, isFailed, isSuccessful, setCanceled, setFailed, setLastException
-
Field Details
-
layer
-
monitor
-
-
Constructor Details
-
UploadNoteLayerTask
Creates the upload task.- Parameters:
layer- the layer. Must not be null.monitor- a progress monitor. If monitor is null, usesNullProgressMonitor.INSTANCE- Throws:
IllegalArgumentException- if layer is nullIllegalArgumentException- if strategy is null
-
-
Method Details
-
run
-
cancel
Description copied from class:AbstractIOTaskCancel the task- Specified by:
cancelin classAbstractIOTask
-