Enum Constant and Description |
---|
HIGH |
IMMEDIATE |
LANGUID |
LOW |
NORMAL |
URGENT |
Modifier and Type | Method and Description |
---|---|
boolean |
after(Priority p) |
static Priority |
fromByte(byte b) |
static Priority |
readFrom(StreamInput input) |
boolean |
sameOrAfter(Priority p) |
static Priority |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Priority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static void |
writeTo(Priority priority,
StreamOutput output) |
public static final Priority IMMEDIATE
public static final Priority URGENT
public static final Priority HIGH
public static final Priority NORMAL
public static final Priority LOW
public static final Priority LANGUID
public static Priority[] values()
for (Priority c : Priority.values()) System.out.println(c);
public static 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 nullpublic static Priority readFrom(StreamInput input) throws java.io.IOException
java.io.IOException
public static void writeTo(Priority priority, StreamOutput output) throws java.io.IOException
java.io.IOException
public static Priority fromByte(byte b)
public boolean after(Priority p)
public boolean sameOrAfter(Priority p)