Package org.junit.platform.engine
Enum DiscoveryIssue.Severity
- java.lang.Object
-
- java.lang.Enum<DiscoveryIssue.Severity>
-
- org.junit.platform.engine.DiscoveryIssue.Severity
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DiscoveryIssue.Severity>
- Enclosing interface:
- DiscoveryIssue
public static enum DiscoveryIssue.Severity extends java.lang.Enum<DiscoveryIssue.Severity>
The severity of aDiscoveryIssue.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERRORIndicates that the engine encountered something that is definitely problematic and will lead to unexpected behavior.INFOIndicates that the engine encountered something that could be potentially problematic, but could also happen due to a valid setup or configuration.WARNINGIndicates that the engine encountered something that is problematic and might lead to unexpected behavior or will be removed or changed in a future release.
-
Constructor Summary
Constructors Modifier Constructor Description privateSeverity()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DiscoveryIssue.SeverityvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DiscoveryIssue.Severity[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INFO
public static final DiscoveryIssue.Severity INFO
Indicates that the engine encountered something that could be potentially problematic, but could also happen due to a valid setup or configuration.
-
WARNING
public static final DiscoveryIssue.Severity WARNING
Indicates that the engine encountered something that is problematic and might lead to unexpected behavior or will be removed or changed in a future release.
-
ERROR
public static final DiscoveryIssue.Severity ERROR
Indicates that the engine encountered something that is definitely problematic and will lead to unexpected behavior.
-
-
Method Detail
-
values
public static DiscoveryIssue.Severity[] 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 (DiscoveryIssue.Severity c : DiscoveryIssue.Severity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DiscoveryIssue.Severity valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-