Enum Constant and Description |
---|
LEVEL1 |
LEVEL10 |
LEVEL2 |
LEVEL3 |
LEVEL4 |
LEVEL5 |
LEVEL6 |
LEVEL7 |
LEVEL8 |
LEVEL9 |
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 LEVEL1
public static final Priority LEVEL2
public static final Priority LEVEL3
public static final Priority LEVEL4
public static final Priority LEVEL5
public static final Priority LEVEL6
public static final Priority LEVEL7
public static final Priority LEVEL8
public static final Priority LEVEL9
public static final Priority LEVEL10
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 null