public static enum NotesAndTasksData.TaskState extends java.lang.Enum<NotesAndTasksData.TaskState>
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
label
User readable label.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLabel() |
static java.lang.String[] |
getStateLabels() |
static NotesAndTasksData.TaskState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NotesAndTasksData.TaskState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotesAndTasksData.TaskState OPEN
public static final NotesAndTasksData.TaskState ASSIGNED
public static final NotesAndTasksData.TaskState COMPLETED
public static NotesAndTasksData.TaskState[] values()
for (NotesAndTasksData.TaskState c : NotesAndTasksData.TaskState.values()) System.out.println(c);
public static NotesAndTasksData.TaskState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static java.lang.String[] getStateLabels()
public java.lang.String getLabel()