public static enum Task.Priority extends Enum<Task.Priority>
| Enum Constant and Description |
|---|
HIGH |
LOW |
MEDIUM |
VERY_HIGH |
VERY_LOW |
| Modifier and Type | Method and Description |
|---|---|
static Task.Priority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Task.Priority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Task.Priority HIGH
public static final Task.Priority LOW
public static final Task.Priority MEDIUM
public static final Task.Priority VERY_HIGH
public static final Task.Priority VERY_LOW
public static Task.Priority[] values()
for (Task.Priority c : Task.Priority.values()) System.out.println(c);
public static Task.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 © 2004–2020 Jahia Solutions Group SA. All rights reserved.