Package org.revapi.maven
Enum FailSeverity
- java.lang.Object
-
- java.lang.Enum<FailSeverity>
-
- org.revapi.maven.FailSeverity
-
- All Implemented Interfaces:
Serializable
,Comparable<FailSeverity>
public enum FailSeverity extends Enum<FailSeverity>
- Since:
- 0.1
- Author:
- Lukas Krejci
-
-
Enum Constant Summary
Enum Constants Enum Constant Description breaking
equivalent
nonBreaking
potentiallyBreaking
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.revapi.DifferenceSeverity
asDifferenceSeverity()
static FailSeverity
valueOf(String name)
Returns the enum constant of this type with the specified name.static FailSeverity[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
equivalent
public static final FailSeverity equivalent
-
nonBreaking
public static final FailSeverity nonBreaking
-
potentiallyBreaking
public static final FailSeverity potentiallyBreaking
-
breaking
public static final FailSeverity breaking
-
-
Method Detail
-
values
public static FailSeverity[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FailSeverity c : FailSeverity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FailSeverity 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 nameNullPointerException
- if the argument is null
-
asDifferenceSeverity
public org.revapi.DifferenceSeverity asDifferenceSeverity()
-
-