Package com.sas.lsaf.workflow.task
Enum Task.TaskStatus
- java.lang.Object
-
- java.lang.Enum<Task.TaskStatus>
-
- com.sas.lsaf.workflow.task.Task.TaskStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Task.TaskStatus>
- Enclosing class:
- Task
public static enum Task.TaskStatus extends java.lang.Enum<Task.TaskStatus>
The valid values for the status of a task.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASSIGNED
The task is assigned but not started.STARTED
The task is assigned and started.UNASSIGNED
The task is not assigned and not started.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Task.TaskStatus
valueOf(java.lang.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.
-
-
-
Enum Constant Detail
-
UNASSIGNED
public static final Task.TaskStatus UNASSIGNED
The task is not assigned and not started.
-
ASSIGNED
public static final Task.TaskStatus ASSIGNED
The task is assigned but not started.
-
STARTED
public static final Task.TaskStatus STARTED
The task is assigned and started.
-
-
Method Detail
-
values
public static Task.TaskStatus[] 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 (Task.TaskStatus c : Task.TaskStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Task.TaskStatus 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
-
-