net.sf.freecol.server.control
Enum ChangeSet.ChangePriority

java.lang.Object
  extended by java.lang.Enum<ChangeSet.ChangePriority>
      extended by net.sf.freecol.server.control.ChangeSet.ChangePriority
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ChangeSet.ChangePriority>
Enclosing class:
ChangeSet

public static enum ChangeSet.ChangePriority
extends java.lang.Enum<ChangeSet.ChangePriority>


Enum Constant Summary
CHANGE_ANIMATION
           
CHANGE_ATTRIBUTE
           
CHANGE_EARLY
           
CHANGE_LATE
           
CHANGE_NORMAL
           
CHANGE_OWNED
           
CHANGE_REMOVE
           
CHANGE_STANCE
           
CHANGE_UPDATE
           
 
Field Summary
private  int level
           
 
Method Summary
 int getPriority()
           
static ChangeSet.ChangePriority valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ChangeSet.ChangePriority[] 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

CHANGE_ATTRIBUTE

public static final ChangeSet.ChangePriority CHANGE_ATTRIBUTE

CHANGE_ANIMATION

public static final ChangeSet.ChangePriority CHANGE_ANIMATION

CHANGE_REMOVE

public static final ChangeSet.ChangePriority CHANGE_REMOVE

CHANGE_STANCE

public static final ChangeSet.ChangePriority CHANGE_STANCE

CHANGE_OWNED

public static final ChangeSet.ChangePriority CHANGE_OWNED

CHANGE_UPDATE

public static final ChangeSet.ChangePriority CHANGE_UPDATE

CHANGE_EARLY

public static final ChangeSet.ChangePriority CHANGE_EARLY

CHANGE_NORMAL

public static final ChangeSet.ChangePriority CHANGE_NORMAL

CHANGE_LATE

public static final ChangeSet.ChangePriority CHANGE_LATE
Field Detail

level

private int level
Method Detail

values

public static ChangeSet.ChangePriority[] 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 (ChangeSet.ChangePriority c : ChangeSet.ChangePriority.values())
    System.out.println(c);

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

valueOf

public static ChangeSet.ChangePriority 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

getPriority

public int getPriority()