org.openstreetmap.josm.gui.io
Enum MaxChangesetSizeExceededPolicy

java.lang.Object
  extended by java.lang.Enum<MaxChangesetSizeExceededPolicy>
      extended by org.openstreetmap.josm.gui.io.MaxChangesetSizeExceededPolicy
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MaxChangesetSizeExceededPolicy>

public enum MaxChangesetSizeExceededPolicy
extends java.lang.Enum<MaxChangesetSizeExceededPolicy>


Enum Constant Summary
ABORT
          Abort uploading.
AUTOMATICALLY_OPEN_NEW_CHANGESETS
          Automatically open as many new changesets as necessary to upload the data.
FILL_ONE_CHANGESET_AND_RETURN_TO_UPLOAD_DIALOG
          Fill one changeset.
 
Method Summary
static MaxChangesetSizeExceededPolicy valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MaxChangesetSizeExceededPolicy[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ABORT

public static final MaxChangesetSizeExceededPolicy ABORT
Abort uploading. Send the user back to map editing.


FILL_ONE_CHANGESET_AND_RETURN_TO_UPLOAD_DIALOG

public static final MaxChangesetSizeExceededPolicy 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

public static final MaxChangesetSizeExceededPolicy AUTOMATICALLY_OPEN_NEW_CHANGESETS
Automatically open as many new changesets as necessary to upload the data.

Method Detail

values

public static MaxChangesetSizeExceededPolicy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (MaxChangesetSizeExceededPolicy c : MaxChangesetSizeExceededPolicy.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MaxChangesetSizeExceededPolicy valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


JOSM