source: josm/trunk/src/org/openstreetmap/josm/io/MaxChangesetSizeExceededPolicy.java@ 19106

Last change on this file since 19106 was 19106, checked in by taylor.smock, 12 days ago

Cleanup some new PMD warnings from PMD 7.x (followup of r19101)

  • Property svn:eol-style set to native
File size: 794 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.io;
3
4/**
5 * This determines what to do when the max changeset size was exceeded by a upload.
6 * @since 12687 (moved from {@code gui.io} package)
7 */
8@SuppressWarnings("PMD.LongVariable")
9public enum MaxChangesetSizeExceededPolicy {
10 /**
11 * Abort uploading. Send the user back to map editing.
12 */
13 ABORT,
14 /**
15 * Fill one changeset. If it is full send the user back to the
16 * upload dialog where he can choose another changeset or another
17 * upload strategy if he or she wants to.
18 */
19 FILL_ONE_CHANGESET_AND_RETURN_TO_UPLOAD_DIALOG,
20
21 /**
22 * Automatically open as many new changesets as necessary to upload
23 * the data.
24 */
25 AUTOMATICALLY_OPEN_NEW_CHANGESETS
26}
Note: See TracBrowser for help on using the repository browser.