public static enum Task.TaskPriority extends Enum<Task.TaskPriority>
| Enum Constant and Description | 
|---|
LOW
Low priority 
 | 
NORMAL
Default priority 
 | 
URGENT
Urgent priority 
 | 
| Modifier and Type | Field and Description | 
|---|---|
private I18nizableText | 
_label  | 
private String | 
_value  | 
| Modifier and Type | Method and Description | 
|---|---|
static Task.TaskPriority | 
createsFromString(String priority)
Converts a string to a TaskPriority 
 | 
I18nizableText | 
getLabel()
label getter 
 | 
String | 
toString()  | 
static Task.TaskPriority | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static Task.TaskPriority[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final Task.TaskPriority LOW
public static final Task.TaskPriority NORMAL
public static final Task.TaskPriority URGENT
private I18nizableText _label
public static Task.TaskPriority[] values()
for (Task.TaskPriority c : Task.TaskPriority.values()) System.out.println(c);
public static Task.TaskPriority 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 nullpublic String toString()
toString in class Enum<Task.TaskPriority>public I18nizableText getLabel()
public static Task.TaskPriority createsFromString(String priority)
priority - The priority to convert