public static enum ForkActivity.State extends Enum<ForkActivity.State>
ForkActivity
.Enum Constant and Description |
---|
CANCELLED
The activity has ended because it was
cancelled by the application. |
EXPIRED
The activity has ended because its timeout expired.
|
FAILOVER
The activity has migrated to a different node.
|
FAILURE
The activity has ended because all targets failed.
|
INIT
The activity has been created but not yet
ForkActivity.forkTo(java.util.List) started}. |
PROCEEDING
The activity has been
ForkActivity.forkTo(java.util.List) started} and is waiting for a success response. |
SUCCESS
The activity has ended normally with a success response.
|
Modifier and Type | Method and Description |
---|---|
static ForkActivity.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ForkActivity.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ForkActivity.State INIT
ForkActivity.forkTo(java.util.List)
started}.public static final ForkActivity.State PROCEEDING
ForkActivity.forkTo(java.util.List)
started} and is waiting for a success response.public static final ForkActivity.State SUCCESS
public static final ForkActivity.State FAILURE
public static final ForkActivity.State CANCELLED
cancelled
by the application.public static final ForkActivity.State EXPIRED
public static final ForkActivity.State FAILOVER
public static ForkActivity.State[] values()
for (ForkActivity.State c : ForkActivity.State.values()) System.out.println(c);
public static ForkActivity.State 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 null