Enum Class PatchSetState

java.lang.Object
java.lang.Enum<PatchSetState>
com.google.gerrit.server.notedb.PatchSetState
All Implemented Interfaces:
Serializable, Comparable<PatchSetState>, java.lang.constant.Constable

public enum PatchSetState extends Enum<PatchSetState>
  • Enum Constant Details

    • PUBLISHED

      public static final PatchSetState PUBLISHED
      Published and visible to anyone who can see the change; the default.
    • DELETED

      public static final PatchSetState DELETED
      Deleted patch set.

      Used internally as a tombstone; patch sets exposed by public NoteDb interfaces never have this state.

  • Method Details

    • values

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