public static enum Message.Priority extends java.lang.Enum<Message.Priority>
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns priority as int value.
|
static Message.Priority |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Message.Priority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Message.Priority LOWEST
public static final Message.Priority LOW
public static final Message.Priority MEDIUM
public static final Message.Priority HIGH
public static final Message.Priority HIGHEST
public static Message.Priority[] values()
for (Message.Priority c : Message.Priority.values()) System.out.println(c);
public static Message.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 int getValue()