Uses of Class
org.openstreetmap.josm.data.APIDataSet
-
Packages that use APIDataSet Package Description org.openstreetmap.josm.actions Provides the classes for JOSM user actions.org.openstreetmap.josm.actions.upload Provides the classes for JOSMupload action
.org.openstreetmap.josm.gui.io Provides GUI classes for handling input/output operations (download, upload, save). -
-
Uses of APIDataSet in org.openstreetmap.josm.actions
Methods in org.openstreetmap.josm.actions with parameters of type APIDataSet Modifier and Type Method Description static boolean
UploadAction. checkPreUploadConditions(AbstractModifiableLayer layer, APIDataSet apiData)
Check whether the preconditions are met to upload data inapiData
.private static java.util.concurrent.Future<java.lang.Boolean>
UploadAction. checkPreUploadConditionsAsync(AbstractModifiableLayer layer, APIDataSet apiData, java.util.function.Consumer<java.lang.Boolean> onFinish)
Check whether the preconditions are met to upload data inapiData
.private static void
UploadAction. realUploadData(OsmDataLayer layer, APIDataSet apiData)
Uploads data to the OSM API.void
UploadAction. uploadData(OsmDataLayer layer, APIDataSet apiData)
Uploads data to the OSM API. -
Uses of APIDataSet in org.openstreetmap.josm.actions.upload
Methods in org.openstreetmap.josm.actions.upload with parameters of type APIDataSet Modifier and Type Method Description boolean
ApiPreconditionCheckerHook. checkUpload(APIDataSet apiData)
boolean
DiscardTagsHook. checkUpload(APIDataSet apiDataSet)
boolean
FixDataHook. checkUpload(APIDataSet apiDataSet)
Checks the upload for deprecated or wrong tags.boolean
RelationUploadOrderHook. checkUpload(APIDataSet apiDataSet)
default boolean
UploadHook. checkUpload(APIDataSet apiDataSet)
Check and/or change the data to be uploaded.boolean
ValidateUploadHook. checkUpload(APIDataSet apiDataSet)
Validate the modified data before uploading -
Uses of APIDataSet in org.openstreetmap.josm.gui.io
Fields in org.openstreetmap.josm.gui.io declared as APIDataSet Modifier and Type Field Description private APIDataSet
UploadPrimitivesTask. toUpload
The objects to upload.Methods in org.openstreetmap.josm.gui.io with parameters of type APIDataSet Modifier and Type Method Description static java.util.Optional<AsynchronousUploadPrimitivesTask>
AsynchronousUploadPrimitivesTask. createAsynchronousUploadTask(UploadStrategySpecification uploadStrategySpecification, OsmDataLayer dataLayer, APIDataSet apiDataSet, Changeset changeset)
Creates an instance of AsynchronousUploadPrimitiveTaskvoid
UploadDialog. setUploadedPrimitives(APIDataSet toUpload)
Sets the collection of primitives to uploadConstructors in org.openstreetmap.josm.gui.io with parameters of type APIDataSet Constructor Description AsynchronousUploadPrimitivesTask(UploadStrategySpecification uploadStrategySpecification, OsmDataLayer osmDataLayer, APIDataSet apiDataSet, Changeset changeset)
Private constructor to restrict creating more Asynchronous upload tasksUploadPrimitivesTask(UploadStrategySpecification strategy, OsmDataLayer layer, APIDataSet toUpload, Changeset changeset)
Creates the task
-