Enum Class WorkflowExclusivity
- All Implemented Interfaces:
Serializable,Comparable<WorkflowExclusivity>,Constable
Identifies the number of times a resource workflow is able to be start.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe workflow can only be started once on each resource.The workflow can only be started as the sole workflow of a resource.No restrictions apply to starting this workflow. -
Method Summary
Modifier and TypeMethodDescriptionstatic WorkflowExclusivityReturns the enum constant of this class with the specified name.static WorkflowExclusivity[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RESOURCE_EXCLUSIVITY
The workflow can only be started as the sole workflow of a resource. No other workflows are allowed to start, not even workflows of other workflow definition. -
DEFINITION_EXCLUSIVITY
The workflow can only be started once on each resource. Other workflows are still allowed to start. -
UNCONSTRAINED
No restrictions apply to starting this workflow.
-
-
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
-