public static enum Enums.Priority extends java.lang.Enum<Enums.Priority>
Enum Constant and Description |
---|
HIGH
High Priority.
|
LOW
Low Priority.
|
NORMAL
Normal Priority.
|
URGENT
Urgent Priority.
|
Modifier and Type | Method and Description |
---|---|
static Enums.Priority |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Enums.Priority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Enums.Priority URGENT
public static final Enums.Priority HIGH
public static final Enums.Priority NORMAL
public static final Enums.Priority LOW
public static Enums.Priority[] values()
for (Enums.Priority c : Enums.Priority.values()) System.out.println(c);
public static Enums.Priority 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 null