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.
|
Modifier and Type | Field and Description |
---|---|
private UploadStrategySpecification |
UploadParameterSummaryPanel.spec |
private UploadStrategySpecification |
UploadLayerTask.strategy |
private UploadStrategySpecification |
UploadPrimitivesTask.strategy |
Modifier and Type | Method and Description |
---|---|
UploadStrategySpecification |
IUploadDialog.getUploadStrategySpecification()
Replies the
UploadStrategySpecification the user entered in the dialog. |
UploadStrategySpecification |
UploadDialog.getUploadStrategySpecification() |
UploadStrategySpecification |
UploadStrategySelectionPanel.getUploadStrategySpecification()
Gets the upload strategy the user chose
|
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 |
UploadStrategySelectionPanel.setUploadStrategySpecification(UploadStrategySpecification strategy)
Fills the inputs using a
UploadStrategySpecification |
void |
UploadParameterSummaryPanel.setUploadStrategySpecification(UploadStrategySpecification spec)
Sets the
UploadStrategySpecification the user chose |
Constructor and Description |
---|
AsynchronousUploadPrimitivesTask(UploadStrategySpecification uploadStrategySpecification,
OsmDataLayer osmDataLayer,
APIDataSet apiDataSet,
Changeset changeset)
Private constructor to restrict creating more Asynchronous upload tasks
|
UploadLayerTask(UploadStrategySpecification strategy,
OsmDataLayer layer,
ProgressMonitor monitor,
Changeset changeset)
Creates the upload task
|
UploadPrimitivesTask(UploadStrategySpecification strategy,
OsmDataLayer layer,
APIDataSet toUpload,
Changeset changeset)
Creates the task
|
Modifier and Type | Method and Description |
---|---|
UploadStrategySpecification |
UploadStrategySpecification.setChunkSize(int chunkSize)
Sets the upload chunk size
|
UploadStrategySpecification |
UploadStrategySpecification.setCloseChangesetAfterUpload(boolean closeChangesetAfterUpload)
Sets whether to close the changeset after this upload
|
UploadStrategySpecification |
UploadStrategySpecification.setPolicy(MaxChangesetSizeExceededPolicy policy)
Sets the policy to use when the max changeset size is exceeded
|
UploadStrategySpecification |
UploadStrategySpecification.setStrategy(UploadStrategy strategy)
Sets the upload strategy (chunk mode)
|
Modifier and Type | Method and Description |
---|---|
void |
OsmServerWriter.uploadOsm(UploadStrategySpecification strategy,
java.util.Collection<? extends OsmPrimitive> primitives,
Changeset changeset,
ProgressMonitor monitor)
Send the dataset to the server.
|
Constructor and Description |
---|
UploadStrategySpecification(UploadStrategySpecification other)
Clones another upload strategy.
|