Enum Class ValidationIssue.IssueType

java.lang.Object
java.lang.Enum<ValidationIssue.IssueType>
cloud.opencode.base.rules.validation.ValidationIssue.IssueType
All Implemented Interfaces:
Serializable, Comparable<ValidationIssue.IssueType>, Constable
Enclosing class:
ValidationIssue

public static enum ValidationIssue.IssueType extends Enum<ValidationIssue.IssueType>
Type of Validation Issue 验证问题类型
Since:
JDK 25, opencode-base-rules V1.0.3
Author:
Leon Soo www.LeonSoo.com
  • Enum Constant Details

    • DUPLICATE_RULE_NAME

      public static final ValidationIssue.IssueType DUPLICATE_RULE_NAME
      Two or more rules share the same name | 两个或更多规则共享相同名称
    • EMPTY_RULE_NAME

      public static final ValidationIssue.IssueType EMPTY_RULE_NAME
      Rule name is null or blank | 规则名称为null或空白
    • NULL_CONDITION

      public static final ValidationIssue.IssueType NULL_CONDITION
      Rule condition is null | 规则条件为null
    • NULL_ACTION

      public static final ValidationIssue.IssueType NULL_ACTION
      Rule action is null | 规则动作为null
    • NEGATIVE_PRIORITY

      public static final ValidationIssue.IssueType NEGATIVE_PRIORITY
      Rule priority is negative | 规则优先级为负数
    • EMPTY_GROUP

      public static final ValidationIssue.IssueType EMPTY_GROUP
      Rule group is an empty string | 规则分组为空字符串
    • CIRCULAR_DEPENDENCY

      public static final ValidationIssue.IssueType CIRCULAR_DEPENDENCY
      Circular dependency detected among rules | 检测到规则之间的循环依赖
  • Method Details

    • values

      public static ValidationIssue.IssueType[] 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 ValidationIssue.IssueType 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