public static enum ProcessConstants.InstanceExecutionStatus extends java.lang.Enum<ProcessConstants.InstanceExecutionStatus>
| Enum Constant and Description |
|---|
IE_ABORTED
Instances in the state "aborted" can no longer be executed or
changed.
|
IE_FINISHED
Instances in the state "finished" are completed and therefore
they are in a final state.
|
IE_RUNNING
In "running" state an instance can be executed.
|
IE_SOFTLY_ABORTED
Instances in the state "aborted" can no longer be executed or
changed.
|
IE_SOFTLY_SUSPENDED
The state "suspend" prevents an instance from further
execution.
|
IE_SUSPENDED
The state "suspend" prevents an instance from further
execution.
|
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
readableName
Readable enum representation.
|
| Modifier and Type | Method and Description |
|---|---|
static ProcessConstants.InstanceExecutionStatus[] |
getAll()
Gets all instance execution statuses in an array.
|
int |
getCode() |
static ProcessConstants.InstanceExecutionStatus |
valueOf(int code) |
static ProcessConstants.InstanceExecutionStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProcessConstants.InstanceExecutionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessConstants.InstanceExecutionStatus IE_RUNNING
public static final ProcessConstants.InstanceExecutionStatus IE_SUSPENDED
IE_SUSPENDED is a suspend with propagation of the
suspension to running activities, that is all activities are suspended at
once - if the running activities support suspension.public static final ProcessConstants.InstanceExecutionStatus IE_SOFTLY_SUSPENDED
IE_SOFTLY_SUSPENDED is a "soft"" suspend without
propagation of the suspension to running activities. Currently running
activities may continue until they are suspended, finished or aborted.public static final ProcessConstants.InstanceExecutionStatus IE_ABORTED
IE_ABORTED is a "hard" abort, that is running
activities are instantly aborted, suspended activities are removed from
worklists but remain suspended.public static final ProcessConstants.InstanceExecutionStatus IE_SOFTLY_ABORTED
IE_SOFTLY_ABORTED does not propagate the abortion to
running activities. This allows running (as well as suspended) activities
to finish normally. This implies that suspended activities may be resumed
again.public static final ProcessConstants.InstanceExecutionStatus IE_FINISHED
public static ProcessConstants.InstanceExecutionStatus[] values()
for (ProcessConstants.InstanceExecutionStatus c : ProcessConstants.InstanceExecutionStatus.values()) System.out.println(c);
public static ProcessConstants.InstanceExecutionStatus 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 nullpublic int getCode()
public static ProcessConstants.InstanceExecutionStatus valueOf(int code)
public static ProcessConstants.InstanceExecutionStatus[] getAll()