public enum MessagePriority extends Enum<MessagePriority>
| Modifier and Type | Method and Description |
|---|---|
static MessagePriority |
forInteger(int value) |
int |
getPriority()
Gets the current priority set.
|
static MessagePriority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessagePriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessagePriority LOW
public static final MessagePriority MEDIUM
public static final MessagePriority HIGH
public static final MessagePriority NONE
public static MessagePriority[] values()
for (MessagePriority c : MessagePriority.values()) System.out.println(c);
public static MessagePriority valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getPriority()
public static MessagePriority forInteger(int value)
Copyright © 2019. All rights reserved.