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

    • DRAFT

      public static final WorkflowStatusEnum DRAFT
      草稿状态 工作流已创建但未发布
    • PUBLISHED

      public static final WorkflowStatusEnum PUBLISHED
      已发布状态 工作流已发布,可以使用
    • DISABLED

      public static final WorkflowStatusEnum DISABLED
      已禁用状态 工作流被禁用,不可使用
  • 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:
      对应的中文名称