Enum Class Marker.Severity

java.lang.Object
java.lang.Enum<Marker.Severity>
io.jenkins.plugins.prism.Marker.Severity
All Implemented Interfaces:
Serializable, Comparable<Marker.Severity>, Constable
Enclosing class:
Marker

public static enum Marker.Severity extends Enum<Marker.Severity>
The severity of a marker. The severity defines the color of the marked lines and of the box that shows the details of the marker. If several markers with different severities cover the same line, then the line is shown with the highest severity. The severities are ordered from the highest to the lowest severity.
  • Enum Constant Details

    • ERROR

      public static final Marker.Severity ERROR
      A severe problem, e.g., an error or a line that is not covered by tests.
    • WARNING

      public static final Marker.Severity WARNING
      A problem that should be fixed, e.g., a warning or a partially covered line.
    • INFO

      public static final Marker.Severity INFO
      An information or a minor problem.
    • SUCCESS

      public static final Marker.Severity SUCCESS
      A positive result, e.g., a line that is covered by tests.
  • Method Details

    • values

      public static Marker.Severity[] 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 Marker.Severity 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