Enum Class SubmitRecord.Label.Status

java.lang.Object
java.lang.Enum<SubmitRecord.Label.Status>
com.google.gerrit.entities.SubmitRecord.Label.Status
All Implemented Interfaces:
Serializable, Comparable<SubmitRecord.Label.Status>, java.lang.constant.Constable
Enclosing class:
SubmitRecord.Label

public static enum SubmitRecord.Label.Status extends Enum<SubmitRecord.Label.Status>
  • Enum Constant Details

    • OK

      public static final SubmitRecord.Label.Status OK
      This label provides what is necessary for submission.

      If provided, SubmitRecord.Label.appliedBy describes the user account that applied this label to the change.

    • REJECT

      public static final SubmitRecord.Label.Status REJECT
      This label prevents the change from being submitted.

      If provided, SubmitRecord.Label.appliedBy describes the user account that applied this label to the change.

    • NEED

      public static final SubmitRecord.Label.Status NEED
      The label is required for submission, but has not been satisfied.
    • MAY

      public static final SubmitRecord.Label.Status MAY
      The label may be set, but it's neither necessary for submission nor does it block submission if set.
    • IMPOSSIBLE

      public static final SubmitRecord.Label.Status IMPOSSIBLE
      The label is required for submission, but is impossible to complete. The likely cause is access has not been granted correctly by the project owner or site administrator.
  • Method Details

    • values

      public static SubmitRecord.Label.Status[] 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 SubmitRecord.Label.Status 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