Enum Class VoteOpinion

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

public enum VoteOpinion extends Enum<VoteOpinion>
Vote opinion submitted at a StepType.VOTE step. 投票节点(StepType.VOTE)的投票意见。
Since:
JDK 25, opencode-base-flow V1.0.5
Author:
Leon Soo
  • Enum Constant Details

    • AGREE

      public static final VoteOpinion AGREE
      Vote in favour. 赞成。
      Since:
      JDK 25, opencode-base-flow V1.0.5
    • DISAGREE

      public static final VoteOpinion DISAGREE
      Vote against. 反对。
      Since:
      JDK 25, opencode-base-flow V1.0.5
  • Method Details

    • values

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