Enum Class TreeResult.Violation.Severity

java.lang.Object
java.lang.Enum<TreeResult.Violation.Severity>
cloud.opencode.base.tree.result.TreeResult.Violation.Severity
All Implemented Interfaces:
Serializable, Comparable<TreeResult.Violation.Severity>, Constable
Enclosing class:
TreeResult.Violation

public static enum TreeResult.Violation.Severity extends Enum<TreeResult.Violation.Severity>
Violation Severity 违规严重程度

Defines the severity level of a violation.

定义违规的严重程度级别。

Since:
JDK 25, opencode-base-tree V1.0.0
Author:
Leon Soo
  • Enum Constant Details

  • Method Details

    • values

      public static TreeResult.Violation.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 TreeResult.Violation.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