Package io.jenkins.plugins.prism
Enum Class Marker.Severity
- All Implemented Interfaces:
Serializable,Comparable<Marker.Severity>,Constable
- Enclosing class:
Marker
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic Marker.SeverityReturns the enum constant of this class with the specified name.static Marker.Severity[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ERROR
A severe problem, e.g., an error or a line that is not covered by tests. -
WARNING
A problem that should be fixed, e.g., a warning or a partially covered line. -
INFO
An information or a minor problem. -
SUCCESS
A positive result, e.g., a line that is covered by tests.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-