Package | Description |
---|---|
org.openstreetmap.josm.actions |
Provides the classes for JOSM user actions.
|
org.openstreetmap.josm.actions.upload |
Provides the classes for JOSM
upload action . |
org.openstreetmap.josm.gui.io |
Provides GUI classes for handling input/output operations (download, upload, save).
|
Modifier and Type | Method and Description |
---|---|
static boolean |
UploadAction.checkPreUploadConditions(AbstractModifiableLayer layer,
APIDataSet apiData)
Check whether the preconditions are met to upload data in
apiData . |
void |
UploadAction.uploadData(OsmDataLayer layer,
APIDataSet apiData)
Uploads data to the OSM API.
|
Modifier and Type | Method and Description |
---|---|
boolean |
RelationUploadOrderHook.checkUpload(APIDataSet apiDataSet) |
boolean |
ValidateUploadHook.checkUpload(APIDataSet apiDataSet)
Validate the modified data before uploading
|
boolean |
ApiPreconditionCheckerHook.checkUpload(APIDataSet apiData) |
default boolean |
UploadHook.checkUpload(APIDataSet apiDataSet)
Check, and/or change, the data to be uploaded.
|
boolean |
DiscardTagsHook.checkUpload(APIDataSet apiDataSet) |
boolean |
FixDataHook.checkUpload(APIDataSet apiDataSet)
Checks the upload for deprecated or wrong tags.
|
Modifier and Type | Field and Description |
---|---|
private APIDataSet |
UploadPrimitivesTask.toUpload |
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<AsynchronousUploadPrimitivesTask> |
AsynchronousUploadPrimitivesTask.createAsynchronousUploadTask(UploadStrategySpecification uploadStrategySpecification,
OsmDataLayer dataLayer,
APIDataSet apiDataSet,
Changeset changeset)
Creates an instance of AsynchronousUploadPrimitiveTask
|
void |
UploadDialog.setUploadedPrimitives(APIDataSet toUpload)
Sets the collection of primitives to upload
|
Constructor and Description |
---|
AsynchronousUploadPrimitivesTask(UploadStrategySpecification uploadStrategySpecification,
OsmDataLayer osmDataLayer,
APIDataSet apiDataSet,
Changeset changeset)
Private constructor to restrict creating more Asynchronous upload tasks
|
UploadPrimitivesTask(UploadStrategySpecification strategy,
OsmDataLayer layer,
APIDataSet toUpload,
Changeset changeset)
Creates the task
|