Enum Class SubProcessRecord.State

java.lang.Object
java.lang.Enum<SubProcessRecord.State>
com.codingapi.flow.domain.SubProcessRecord.State
All Implemented Interfaces:
Serializable, Comparable<SubProcessRecord.State>, Constable
Enclosing class:
SubProcessRecord

public static enum SubProcessRecord.State extends Enum<SubProcessRecord.State>
子流程节点执行的聚合状态。
  • Enum Constant Details

    • WAITING

      public static final SubProcessRecord.State WAITING
      等待子流程结果:实例创建后、结果确认前
    • PASSED

      public static final SubProcessRecord.State PASSED
      已通过:结果脚本确认通过,主流程已恢复
    • ERROR

      public static final SubProcessRecord.State ERROR
      已异常:全部实例结束但结果未通过,跳转异常节点
  • Method Details

    • values

      public static SubProcessRecord.State[] 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 SubProcessRecord.State 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