Uses of Class
org.openstreetmap.josm.io.UploadStrategySpecification
-
Packages that use UploadStrategySpecification Package Description org.openstreetmap.josm.gui.io Provides GUI classes for handling input/output operations (download, upload, save).org.openstreetmap.josm.io Provides the classes for JOSM input/output support. -
-
Uses of UploadStrategySpecification in org.openstreetmap.josm.gui.io
Fields in org.openstreetmap.josm.gui.io declared as UploadStrategySpecification Modifier and Type Field Description private UploadStrategySpecification
UploadParameterSummaryPanel. spec
private UploadStrategySpecification
UploadLayerTask. strategy
private UploadStrategySpecification
UploadPrimitivesTask. strategy
Methods in org.openstreetmap.josm.gui.io that return UploadStrategySpecification Modifier and Type Method Description UploadStrategySpecification
IUploadDialog. getUploadStrategySpecification()
Replies theUploadStrategySpecification
the user entered in the dialog.UploadStrategySpecification
UploadDialog. getUploadStrategySpecification()
UploadStrategySpecification
UploadStrategySelectionPanel. getUploadStrategySpecification()
Gets the upload strategy the user choseMethods in org.openstreetmap.josm.gui.io with parameters of type UploadStrategySpecification Modifier and Type Method Description static Optional<AsynchronousUploadPrimitivesTask>
AsynchronousUploadPrimitivesTask. createAsynchronousUploadTask(UploadStrategySpecification uploadStrategySpecification, OsmDataLayer dataLayer, APIDataSet apiDataSet, Changeset changeset)
Creates an instance of AsynchronousUploadPrimitiveTaskvoid
UploadParameterSummaryPanel. setUploadStrategySpecification(UploadStrategySpecification spec)
Sets theUploadStrategySpecification
the user chosevoid
UploadStrategySelectionPanel. setUploadStrategySpecification(UploadStrategySpecification strategy)
Fills the inputs using aUploadStrategySpecification
Constructors in org.openstreetmap.josm.gui.io with parameters of type UploadStrategySpecification Constructor Description AsynchronousUploadPrimitivesTask(UploadStrategySpecification uploadStrategySpecification, OsmDataLayer osmDataLayer, APIDataSet apiDataSet, Changeset changeset)
Private constructor to restrict creating more Asynchronous upload tasksUploadLayerTask(UploadStrategySpecification strategy, OsmDataLayer layer, ProgressMonitor monitor, Changeset changeset)
Creates the upload taskUploadPrimitivesTask(UploadStrategySpecification strategy, OsmDataLayer layer, APIDataSet toUpload, Changeset changeset)
Creates the task -
Uses of UploadStrategySpecification in org.openstreetmap.josm.io
Methods in org.openstreetmap.josm.io that return UploadStrategySpecification Modifier and Type Method Description UploadStrategySpecification
UploadStrategySpecification. setChunkSize(int chunkSize)
Sets the upload chunk sizeUploadStrategySpecification
UploadStrategySpecification. setCloseChangesetAfterUpload(boolean closeChangesetAfterUpload)
Sets whether to close the changeset after this uploadUploadStrategySpecification
UploadStrategySpecification. setPolicy(MaxChangesetSizeExceededPolicy policy)
Sets the policy to use when the max changeset size is exceededUploadStrategySpecification
UploadStrategySpecification. setStrategy(UploadStrategy strategy)
Sets the upload strategy (chunk mode)Methods in org.openstreetmap.josm.io with parameters of type UploadStrategySpecification Modifier and Type Method Description void
OsmServerWriter. uploadOsm(UploadStrategySpecification strategy, Collection<? extends OsmPrimitive> primitives, Changeset changeset, ProgressMonitor monitor)
Send the dataset to the server.Constructors in org.openstreetmap.josm.io with parameters of type UploadStrategySpecification Constructor Description UploadStrategySpecification(UploadStrategySpecification other)
Clones another upload strategy.
-