public static enum Task.TaskStatus extends Enum<Task.TaskStatus>
Enum Constant and Description |
---|
ASSIGNED
Task assigned
|
ENDED
Task ended
|
IN_PROGRESS
Task in progress
|
OPEN
Task currently opened
|
Modifier and Type | Field and Description |
---|---|
private I18nizableText |
_label |
private String |
_value |
Modifier and Type | Method and Description |
---|---|
static Task.TaskStatus |
createsFromString(String status)
Converts a string to a TaskStatus
|
I18nizableText |
getLabel()
label getter
|
String |
toString() |
static Task.TaskStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Task.TaskStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Task.TaskStatus OPEN
public static final Task.TaskStatus ASSIGNED
public static final Task.TaskStatus IN_PROGRESS
public static final Task.TaskStatus ENDED
private I18nizableText _label
public static Task.TaskStatus[] values()
for (Task.TaskStatus c : Task.TaskStatus.values()) System.out.println(c);
public static Task.TaskStatus 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.TaskStatus>
public I18nizableText getLabel()
public static Task.TaskStatus createsFromString(String status)
status
- The status to convert