Enum ErrorProneOptions.Severity

java.lang.Object
java.lang.Enum<ErrorProneOptions.Severity>
com.google.errorprone.ErrorProneOptions.Severity
All Implemented Interfaces:
Serializable, Comparable<ErrorProneOptions.Severity>, java.lang.constant.Constable
Enclosing class:
ErrorProneOptions

public static enum ErrorProneOptions.Severity extends Enum<ErrorProneOptions.Severity>
Severity levels for an error-prone check that define how the check results should be presented.
Author:
eaftan@google.com (Eddie Aftandilian)
  • Enum Constant Details

  • Method Details

    • values

      public static ErrorProneOptions.Severity[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ErrorProneOptions.Severity valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null