Enum ProcessConstants.InstanceExecutionStatus

    • Enum Constant Detail

      • 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 Detail

      • readableName

        public final String readableName
        Readable enum representation.
    • Method Detail

      • values

        public static ProcessConstants.InstanceExecutionStatus[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ProcessConstants.InstanceExecutionStatus c : ProcessConstants.InstanceExecutionStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ProcessConstants.InstanceExecutionStatus valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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 type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null