Enum Class TaskRoleType
- All Implemented Interfaces:
TypeSafeEnum
,Serializable
,Comparable<TaskRoleType>
,Constable
Role of the task in the execution of the local root activity.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TaskRoleType
value()
Returns enum value defined as in schema.static TaskRoleType
Returns the enum constant of this class with the specified name.static TaskRoleType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DELEGATE
The activity execution was fully delegated to the current task. -
WORKER
The activity execution was distributed to a set of workers, and this is one of them.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
value
Description copied from interface:TypeSafeEnum
Returns enum value defined as in schema.- Specified by:
value
in interfaceTypeSafeEnum
- Returns:
-
fromValue
-