public enum Urgency extends Enum<Urgency>
| Enum Constant and Description |
|---|
HIGH
HIGH messages typically indicate Show-Stopping events, such as a Database going down,
or a network connection issue.
|
LOW
LOW Messages are like an FYI; they are not important but you may want to know
about it.
|
MEDIUM
MEDIUM Messages are considered Important.
|
| Modifier and Type | Method and Description |
|---|---|
static Urgency |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Urgency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Urgency LOW
public static Urgency[] values()
for (Urgency c : Urgency.values()) System.out.println(c);
public static Urgency 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 nullCopyright © 2015–2016 RedRoma. All rights reserved.