public enum EnumPriority extends java.lang.Enum<EnumPriority>
| Enum Constant and Description |
|---|
HIGH
short value representing high priority
|
LOW
short value representing low priority
|
MEDIUM
short value representing medium priority
|
| Modifier and Type | Method and Description |
|---|---|
short |
getValue()
This function returns the short value of this enum.
|
static EnumPriority |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumPriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumPriority LOW
public static final EnumPriority MEDIUM
public static final EnumPriority HIGH
public static EnumPriority[] values()
for (EnumPriority c : EnumPriority.values()) System.out.println(c);
public static EnumPriority valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic short getValue()