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.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Indicates that the engine encountered something that is definitely problematic and will lead to unexpected behavior.
    Indicates that the engine encountered something that could be potentially problematic, but could also happen due to a valid setup or configuration.
    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.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • 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