Enum Class ProcessConstants.InstanceExecutionStatus
java.lang.Object
java.lang.Enum<ProcessConstants.InstanceExecutionStatus>
de.aristaflow.adept2.model.globals.ProcessConstants.InstanceExecutionStatus
- All Implemented Interfaces:
Serializable,Comparable<ProcessConstants.InstanceExecutionStatus>,java.lang.constant.Constable
- Enclosing class:
- ProcessConstants
public static enum ProcessConstants.InstanceExecutionStatus
extends Enum<ProcessConstants.InstanceExecutionStatus>
The execution status of an instance. For further information about valid
status changes, please refer to the instance state chart.
- Author:
- Kevin Goeser
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInstances in the state "aborted" can no longer be executed or changed.Instances in the state "finished" are completed and therefore they are in a final state.In "running" state an instance can be executed.Instances in the state "aborted" can no longer be executed or changed.The state "suspend" prevents an instance from further execution.The state "suspend" prevents an instance from further execution. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionintgetCode()valueOf(int code) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IE_RUNNING
In "running" state an instance can be executed. This state is assigned right after the creation of an instance. -
IE_SUSPENDED
The state "suspend" prevents an instance from further execution. It is used for short interruptions of a process.
IE_SUSPENDEDis a suspend with propagation of the suspension to running activities, that is all activities are suspended at once - if the running activities support suspension. -
IE_SOFTLY_SUSPENDED
The state "suspend" prevents an instance from further execution. It is used for short interruptions of a process.
IE_SOFTLY_SUSPENDEDis a "soft"" suspend without propagation of the suspension to running activities. Currently running activities may continue until they are suspended, finished or aborted. -
IE_ABORTED
Instances in the state "aborted" can no longer be executed or changed. Since this is a final state no modifications to an instance are allowed. This state includes "unchangeable" and "notMigrateable". If any instance-specific modifications or a schema evolution are taking place they will be cancelled.
IE_ABORTEDis a "hard" abort, that is running activities are instantly aborted, suspended activities are removed from worklists but remain suspended. -
IE_SOFTLY_ABORTED
Instances in the state "aborted" can no longer be executed or changed. Since this is a final state no modifications to an instance are allowed. This state includes "unchangeable" and "notMigrateable". If any instance-specific modifications or a schema evolution are taking place they will be cancelled.
IE_SOFTLY_ABORTEDdoes 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. -
IE_FINISHED
Instances in the state "finished" are completed and therefore they are in a final state. So no modifications to an instance are allowed. This state includes "unchangeable" and "notMigrateable". If any instance-specific modifications or a schema evolution are taking place they will be cancelled.
-
-
Field Details
-
readableName
Readable enum representation.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getCode
public int getCode() -
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
code- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-