Enum Class WorkflowStatusEnum

java.lang.Object
java.lang.Enum<WorkflowStatusEnum>
com.bytedesk.core.workflow.WorkflowStatusEnum
All Implemented Interfaces:
Serializable, Comparable<WorkflowStatusEnum>, Constable

public enum WorkflowStatusEnum extends Enum<WorkflowStatusEnum>
工作流状态枚举
  • Enum Constant Details

    • IDLE

      public static final WorkflowStatusEnum IDLE
      空闲状态 工作流已创建但未开始执行
    • PROCESSING

      public static final WorkflowStatusEnum PROCESSING
      处理中 工作流正在执行中
    • SUCCESS

      public static final WorkflowStatusEnum SUCCESS
      成功 工作流执行成功完成
    • FAIL

      public static final WorkflowStatusEnum FAIL
      失败 工作流执行失败
    • CANCELED

      public static final WorkflowStatusEnum CANCELED
      已取消 工作流被手动取消
  • Constructor Details

    • WorkflowStatusEnum

      private WorkflowStatusEnum()
  • Method Details

    • values

      public static WorkflowStatusEnum[] 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 WorkflowStatusEnum 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
    • fromValue

      public static WorkflowStatusEnum fromValue(String value)
      根据字符串查找对应的枚举常量
    • getChineseName

      public String getChineseName()
      获取枚举类型对应的中文名称
      Returns:
      对应的中文名称