Package com.orchestranetworks.workflow
Enum UserTask.UserTaskMode
- java.lang.Object
-
- java.lang.Enum<UserTask.UserTaskMode>
-
- com.orchestranetworks.workflow.UserTask.UserTaskMode
-
- All Implemented Interfaces:
Serializable,Comparable<UserTask.UserTaskMode>
- Enclosing class:
- UserTask
public static enum UserTask.UserTaskMode extends Enum<UserTask.UserTaskMode>
Represents the user task mode.- Since:
- 5.7.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT_MODEUser task is in default mode.LEGACY_MODEUser task is in legacy mode.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UserTask.UserTaskModevalueOf(String name)Returns the enum constant of this type with the specified name.static UserTask.UserTaskMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LEGACY_MODE
public static final UserTask.UserTaskMode LEGACY_MODE
User task is in legacy mode. This was the only mode supported with EBX® versions prior to 5.7.0.
In this mode, several work items can be created for a user task. But it is not possible to offer a work item to several profiles.
This mode is now deprecated and may be removed in future EBX® versions.
-
DEFAULT_MODE
public static final UserTask.UserTaskMode DEFAULT_MODE
User task is in default mode.
In this mode, only one work item can be created for a user task. It is possible to offer a work item to several profiles.
-
-
Method Detail
-
values
public static UserTask.UserTaskMode[] 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 (UserTask.UserTaskMode c : UserTask.UserTaskMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserTask.UserTaskMode 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
-
-