|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ActivityStartBehavior>
org.camunda.bpm.engine.impl.pvm.process.ActivityStartBehavior
public enum ActivityStartBehavior
Defines the start behavior for activities.
| Enum Constant Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
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 flow
public 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 flow
public static final ActivityStartBehavior CANCEL_EVENT_SCOPE
event scope.
- Boundary events with cancelActivity=true
NOTE: cannot only be used for activities contained in normal flow
| Method Detail |
|---|
public 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 name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||