public static enum Todo.Priority extends Enum<Todo.Priority>
Todo
isEnum Constant and Description |
---|
BUG
The highest priority, bugs are to be repaired as soon as possible
|
ENHANCEMENT
An enhancement with zero importance
|
MAJOR
An important enhancement that will ease the use of the framework considerably, also an enhancement that will require some time to complete
|
MINOR
An enhancement of lesser importance, but will not require much time to implement
|
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 BUG
public static final Todo.Priority MAJOR
public static final Todo.Priority MINOR
public static final Todo.Priority ENHANCEMENT
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 null