001    // License: GPL. For details, see LICENSE file.
002    package org.openstreetmap.josm.gui.io;
003    
004    public enum MaxChangesetSizeExceededPolicy {
005        /**
006         * Abort uploading. Send the user back to map editing.
007         */
008        ABORT,
009        /**
010         * Fill one changeset. If it is full send the user back to the
011         * upload dialog where he can choose another changeset or another
012         * upload strategy if he or she wants to.
013         */
014        FILL_ONE_CHANGESET_AND_RETURN_TO_UPLOAD_DIALOG,
015    
016        /**
017         * Automatically open as many new changesets as necessary to upload
018         * the data.
019         */
020        AUTOMATICALLY_OPEN_NEW_CHANGESETS
021    }