public static enum ToDo.Priority extends Enum<ToDo.Priority>
| Enum Constant and Description |
|---|
CRITICAL
Needs prompt attention, a stop-ship issue
|
IMPORTANT
Needs attention soon, could have important side-effects if not addressed
|
MINOR
should be fixed, but side-effects are likely minor
|
UNKNOWN
Use of this value is discouraged, choose one of the above and details()
|
| Modifier and Type | Method and Description |
|---|---|
static ToDo.Priority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ToDo.Priority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ToDo.Priority CRITICAL
public static final ToDo.Priority IMPORTANT
public static final ToDo.Priority MINOR
public static final ToDo.Priority UNKNOWN
public static ToDo.Priority[] values()
for (ToDo.Priority c : ToDo.Priority.values()) System.out.println(c);
public static ToDo.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 © 2017–2020 Eclipse Foundation. All rights reserved.