public enum ActivityCancellationType extends java.lang.Enum<ActivityCancellationType>
Enum Constant and Description |
---|
ABANDON
Do not request cancellation of the Activity Execution and immediately report cancellation to
the Workflow Execution.
|
TRY_CANCEL
Initiate a cancellation request and immediately report cancellation to the Workflow Execution.
|
WAIT_CANCELLATION_COMPLETED
Wait for the Activity Execution to confirm any requested cancellation.
|
Modifier and Type | Method and Description |
---|---|
static ActivityCancellationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ActivityCancellationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActivityCancellationType WAIT_CANCELLATION_COMPLETED
public static final ActivityCancellationType TRY_CANCEL
public static final ActivityCancellationType ABANDON
public static ActivityCancellationType[] values()
for (ActivityCancellationType c : ActivityCancellationType.values()) System.out.println(c);
public static ActivityCancellationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null