001// License: GPL. For details, see LICENSE file. 002package org.openstreetmap.josm.gui.io; 003 004/** 005 * The state a layer may have after attempting to upload it 006 */ 007public enum UploadOrSaveState { 008 /** 009 * a data layer was successfully saved or upload to the server 010 */ 011 OK, 012 /** 013 * uploading or saving a data layer has failed 014 */ 015 FAILED, 016 /** 017 * uploading or saving a data layer was canceled 018 */ 019 CANCELED 020}