Package com.lexmark.saperion.workflow
Enum TaskStateEnum
- java.lang.Object
-
- java.lang.Enum<TaskStateEnum>
-
- com.lexmark.saperion.workflow.TaskStateEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TaskStateEnum>
public enum TaskStateEnum extends java.lang.Enum<TaskStateEnum>
The task state enumeration defines the possible states that a task can have.- Author:
- owaeldrich
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLIENTACTION
ENTRY_OR_EXIT_FAILED
ERROR
ESCALATION
INACTIVE
LOCK_DOC
PAUSED
REMINDER
REMINDER_REACHED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TaskStateEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TaskStateEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOCK_DOC
public static final TaskStateEnum LOCK_DOC
-
REMINDER_REACHED
public static final TaskStateEnum REMINDER_REACHED
-
CLIENTACTION
public static final TaskStateEnum CLIENTACTION
-
PAUSED
public static final TaskStateEnum PAUSED
-
INACTIVE
public static final TaskStateEnum INACTIVE
-
ENTRY_OR_EXIT_FAILED
public static final TaskStateEnum ENTRY_OR_EXIT_FAILED
-
ESCALATION
public static final TaskStateEnum ESCALATION
-
REMINDER
public static final TaskStateEnum REMINDER
-
ERROR
public static final TaskStateEnum ERROR
-
-
Method Detail
-
values
public static TaskStateEnum[] 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 (TaskStateEnum c : TaskStateEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaskStateEnum 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
-
-