net.sf.freecol.server.control
Enum ChangeSet.ChangePriority
java.lang.Object
java.lang.Enum<ChangeSet.ChangePriority>
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>
|
Field Summary |
private int |
level
|
| 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 |
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
level
private int level
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()