001// License: GPL. For details, see LICENSE file. 002package org.openstreetmap.josm.io; 003 004/** 005 * This determines what to do when the max changeset size was exceeded by a upload. 006 * @since 12687 (moved from {@code gui.io} package) 007 */ 008@SuppressWarnings("PMD.LongVariable") 009public enum MaxChangesetSizeExceededPolicy { 010 /** 011 * Abort uploading. Send the user back to map editing. 012 */ 013 ABORT, 014 /** 015 * Fill one changeset. If it is full send the user back to the 016 * upload dialog where he can choose another changeset or another 017 * upload strategy if he or she wants to. 018 */ 019 FILL_ONE_CHANGESET_AND_RETURN_TO_UPLOAD_DIALOG, 020 021 /** 022 * Automatically open as many new changesets as necessary to upload 023 * the data. 024 */ 025 AUTOMATICALLY_OPEN_NEW_CHANGESETS 026}