Package de.japrost.staproma
Enum TaskState
- java.lang.Object
-
- java.lang.Enum<TaskState>
-
- de.japrost.staproma.TaskState
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CURRENT
Task is to do.DONE
Task is done.FUTURE
Task is to do in future (a very likely kind of maybe in GTD).SCHEDULE
Task is scheduled some time.SOMEDAY
Task is to do some day (a kind of maybe in GTD with a lot of questionmarks).WAITING
Task is waiting for someone else.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TaskState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TaskState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CURRENT
public static final TaskState CURRENT
Task is to do.
-
WAITING
public static final TaskState WAITING
Task is waiting for someone else.
-
SCHEDULE
public static final TaskState SCHEDULE
Task is scheduled some time.
-
FUTURE
public static final TaskState FUTURE
Task is to do in future (a very likely kind of maybe in GTD).
-
SOMEDAY
public static final TaskState SOMEDAY
Task is to do some day (a kind of maybe in GTD with a lot of questionmarks).
-
DONE
public static final TaskState DONE
Task is done.
-
-
Method Detail
-
values
public static TaskState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TaskState c : TaskState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaskState valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-