Enum Class ActivityStartBehavior
- All Implemented Interfaces:
Serializable
,Comparable<ActivityStartBehavior>
,Constable
Defines the start behavior for
activities
.- Author:
- Daniel Meyer
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionUsed for activities which cancel theirevent scope
.Used for activities which are executed concurrently to activities within the sameflowScope
.Default start behavior for an activity is to "do nothing special".Used for activities whichinterrupt
theirevent scope
NOTE: cannot only be used for activities contained in normal flowUsed for activities whichinterrupt
theirflow scope
. -
Method Summary
Modifier and TypeMethodDescriptionstatic ActivityStartBehavior
Returns the enum constant of this class with the specified name.static ActivityStartBehavior[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
Default start behavior for an activity is to "do nothing special". Meaning: the activity is executed by the execution which enters it. NOTE: Only activities contained in normal flow can have DEFALUT start behavior. -
INTERRUPT_FLOW_SCOPE
Used for activities whichinterrupt
theirflow scope
. Examples: - Terminate end event - Cancel end event NOTE: can only be used for activities contained in normal flow -
CONCURRENT_IN_FLOW_SCOPE
Used for activities which are executed concurrently to activities within the sameflowScope
. -
INTERRUPT_EVENT_SCOPE
Used for activities whichinterrupt
theirevent scope
NOTE: cannot only be used for activities contained in normal flow -
CANCEL_EVENT_SCOPE
Used for activities which cancel theirevent scope
. - Boundary events with cancelActivity=true NOTE: cannot only be used for activities contained in normal flow
-
-
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
-