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
  • Enum Constant Details

    • IE_RUNNING

      public static final ProcessConstants.InstanceExecutionStatus IE_RUNNING
      In "running" state an instance can be executed. This state is assigned right after the creation of an instance.
    • IE_SUSPENDED

      public static final ProcessConstants.InstanceExecutionStatus IE_SUSPENDED
      The state "suspend" prevents an instance from further execution. It is used for short interruptions of a process.
      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.
    • IE_SOFTLY_SUSPENDED

      public static final ProcessConstants.InstanceExecutionStatus IE_SOFTLY_SUSPENDED
      The state "suspend" prevents an instance from further execution. It is used for short interruptions of a process.
      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.
    • IE_ABORTED

      public static final ProcessConstants.InstanceExecutionStatus 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_ABORTED is a "hard" abort, that is running activities are instantly aborted, suspended activities are removed from worklists but remain suspended.
    • IE_SOFTLY_ABORTED

      public static final ProcessConstants.InstanceExecutionStatus 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_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.
    • IE_FINISHED

      public static final ProcessConstants.InstanceExecutionStatus 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

      public final String readableName
      Readable enum representation.
  • Method Details

    • values

      public static ProcessConstants.InstanceExecutionStatus[] 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

      public static ProcessConstants.InstanceExecutionStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getCode

      public int getCode()
    • valueOf

      public static ProcessConstants.InstanceExecutionStatus valueOf(int code)
      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 name
      NullPointerException - if the argument is null