Package org.openstreetmap.josm.io
Enum Class MaxChangesetSizeExceededPolicy
java.lang.Object
java.lang.Enum<MaxChangesetSizeExceededPolicy>
org.openstreetmap.josm.io.MaxChangesetSizeExceededPolicy
- All Implemented Interfaces:
Serializable,Comparable<MaxChangesetSizeExceededPolicy>,Constable
This determines what to do when the max changeset size was exceeded by a upload.
- Since:
- 12687 (moved from
gui.iopackage)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAbort uploading.Automatically open as many new changesets as necessary to upload the data.Fill one changeset. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static MaxChangesetSizeExceededPolicy[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ABORT
Abort uploading. Send the user back to map editing. -
FILL_ONE_CHANGESET_AND_RETURN_TO_UPLOAD_DIALOG
Fill one changeset. If it is full send the user back to the upload dialog where he can choose another changeset or another upload strategy if he or she wants to. -
AUTOMATICALLY_OPEN_NEW_CHANGESETS
Automatically open as many new changesets as necessary to upload the data.
-
-
Constructor Details
-
MaxChangesetSizeExceededPolicy
private MaxChangesetSizeExceededPolicy()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-