public enum Priority extends Enum<Priority>
| 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 Priority |
valueOf(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.
|
public static final Priority LOW
public static Priority[] values()
for (Priority c : Priority.values()) System.out.println(c);
public static Priority 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–2017 RedRoma, Inc.. All rights reserved.