Enum Class DiscoveryIssue.Severity

java.lang.Object
java.lang.Enum<DiscoveryIssue.Severity>
org.junit.platform.engine.DiscoveryIssue.Severity
All Implemented Interfaces:
Serializable, Comparable<DiscoveryIssue.Severity>, Constable
Enclosing interface:
DiscoveryIssue

public static enum DiscoveryIssue.Severity extends Enum<DiscoveryIssue.Severity>
The severity of a DiscoveryIssue.
Since:
1.13
  • Enum Constant Details

    • 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 Details

    • values

      public static DiscoveryIssue.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 DiscoveryIssue.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