public enum ActivityStartBehavior extends Enum<ActivityStartBehavior>
activities
.Enum Constant and Description |
---|
CANCEL_EVENT_SCOPE
Used for activities which cancel their
event scope . |
CONCURRENT_IN_FLOW_SCOPE
Used for activities which are executed concurrently to activities
within the same
flowScope . |
DEFAULT
Default start behavior for an activity is to "do nothing special".
|
INTERRUPT_EVENT_SCOPE
Used for activities which
interrupt
their event scope
NOTE: cannot only be used for activities contained in normal flow |
INTERRUPT_FLOW_SCOPE
Used for activities which
interrupt
their flow scope . |
Modifier and Type | Method and Description |
---|---|
static ActivityStartBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActivityStartBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActivityStartBehavior DEFAULT
public static final ActivityStartBehavior INTERRUPT_FLOW_SCOPE
interrupt
their flow scope
. Examples:
- Terminate end event
- Cancel end event
NOTE: can only be used for activities contained in normal flowpublic static final ActivityStartBehavior CONCURRENT_IN_FLOW_SCOPE
flowScope
.public static final ActivityStartBehavior INTERRUPT_EVENT_SCOPE
interrupt
their event scope
NOTE: cannot only be used for activities contained in normal flowpublic static final ActivityStartBehavior CANCEL_EVENT_SCOPE
event scope
.
- Boundary events with cancelActivity=true
NOTE: cannot only be used for activities contained in normal flowpublic static ActivityStartBehavior[] values()
for (ActivityStartBehavior c : ActivityStartBehavior.values()) System.out.println(c);
public static ActivityStartBehavior valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2022. All rights reserved.