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 UploadStrategySpecificationUploadParameterSummaryPanel. specprivate UploadStrategySpecificationUploadLayerTask. strategyprivate UploadStrategySpecificationUploadPrimitivesTask. strategyMethods in org.openstreetmap.josm.gui.io that return UploadStrategySpecification Modifier and Type Method Description UploadStrategySpecificationIUploadDialog. getUploadStrategySpecification()Replies theUploadStrategySpecificationthe user entered in the dialog.UploadStrategySpecificationUploadDialog. getUploadStrategySpecification()UploadStrategySpecificationUploadStrategySelectionPanel. 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 java.util.Optional<AsynchronousUploadPrimitivesTask>AsynchronousUploadPrimitivesTask. createAsynchronousUploadTask(UploadStrategySpecification uploadStrategySpecification, OsmDataLayer dataLayer, APIDataSet apiDataSet, Changeset changeset)Creates an instance of AsynchronousUploadPrimitiveTaskvoidUploadParameterSummaryPanel. setUploadStrategySpecification(UploadStrategySpecification spec)Sets theUploadStrategySpecificationthe user chosevoidUploadStrategySelectionPanel. setUploadStrategySpecification(UploadStrategySpecification strategy)Fills the inputs using aUploadStrategySpecificationConstructors 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 UploadStrategySpecificationUploadStrategySpecification. setChunkSize(int chunkSize)Sets the upload chunk sizeUploadStrategySpecificationUploadStrategySpecification. setCloseChangesetAfterUpload(boolean closeChangesetAfterUpload)Sets whether to close the changeset after this uploadUploadStrategySpecificationUploadStrategySpecification. setPolicy(MaxChangesetSizeExceededPolicy policy)Sets the policy to use when the max changeset size is exceededUploadStrategySpecificationUploadStrategySpecification. 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 voidOsmServerWriter. uploadOsm(UploadStrategySpecification strategy, java.util.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.
-