Enum Class AssigneeType

java.lang.Object
java.lang.Enum<AssigneeType>
cloud.opencode.base.flow.model.AssigneeType
All Implemented Interfaces:
Serializable, Comparable<AssigneeType>, Constable

public enum AssigneeType extends Enum<AssigneeType>
Type discriminator of an Assignee. Assignee 的类型区分。

The host system's AssigneeResolver converts ROLE and DEPT values into concrete user ids at runtime.

宿主系统的 AssigneeResolver 在运行时把 ROLE / DEPT 解析成具体的 userId 列表。

Since:
JDK 25, opencode-base-flow V1.0.5
Author:
Leon Soo
  • Enum Constant Details

    • USER

      public static final AssigneeType USER
      A specific user id, or a ${expr} placeholder. 具体的 userId,或 ${expr} 占位符。
      Since:
      JDK 25, opencode-base-flow V1.0.5
    • ROLE

      public static final AssigneeType ROLE
      A role code resolved by the host system. 由宿主解析的角色 code。
      Since:
      JDK 25, opencode-base-flow V1.0.5
    • DEPT

      public static final AssigneeType DEPT
      A department code resolved by the host system. 由宿主解析的部门 code。
      Since:
      JDK 25, opencode-base-flow V1.0.5
  • Method Details

    • values

      public static AssigneeType[] 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 AssigneeType 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