Enum TaskUtils.TaskType
- java.lang.Object
-
- java.lang.Enum<TaskUtils.TaskType>
-
- org.jbpm.workbench.ht.client.util.TaskUtils.TaskType
-
- All Implemented Interfaces:
Serializable
,Comparable<TaskUtils.TaskType>
- Enclosing class:
- TaskUtils
public static enum TaskUtils.TaskType extends Enum<TaskUtils.TaskType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TaskUtils.TaskType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TaskUtils.TaskType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PERSONAL
public static final TaskUtils.TaskType PERSONAL
-
ACTIVE
public static final TaskUtils.TaskType ACTIVE
-
GROUP
public static final TaskUtils.TaskType GROUP
-
ALL
public static final TaskUtils.TaskType ALL
-
ADMIN
public static final TaskUtils.TaskType ADMIN
-
-
Method Detail
-
values
public static TaskUtils.TaskType[] 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 (TaskUtils.TaskType c : TaskUtils.TaskType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaskUtils.TaskType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-