Enum Class CommitValidationInfo.Status

java.lang.Object
java.lang.Enum<CommitValidationInfo.Status>
com.google.gerrit.server.git.validators.CommitValidationInfo.Status
All Implemented Interfaces:
Serializable, Comparable<CommitValidationInfo.Status>, java.lang.constant.Constable
Enclosing class:
CommitValidationInfo

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

    • PASSED

      public static final CommitValidationInfo.Status PASSED
      The validation has been performed and the commit passed the validation.
    • NOT_APPLICABLE

      public static final CommitValidationInfo.Status NOT_APPLICABLE
      The validation was not done because it was not applicable, for example the validator configuration didn't match the commit that was uploaded/created.
    • SKIPPED_BY_USER

      public static final CommitValidationInfo.Status SKIPPED_BY_USER
      The validation has been skipped by the user.
  • Method Details

    • values

      public static CommitValidationInfo.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 CommitValidationInfo.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