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
Type of Validation Issue
验证问题类型
- Since:
- JDK 25, opencode-base-rules V1.0.3
- Author:
- Leon Soo www.LeonSoo.com
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCircular dependency detected among rules | 检测到规则之间的循环依赖Two or more rules share the same name | 两个或更多规则共享相同名称Rule group is an empty string | 规则分组为空字符串Rule name is null or blank | 规则名称为null或空白Rule priority is negative | 规则优先级为负数Rule action is null | 规则动作为nullRule condition is null | 规则条件为null -
Method Summary
Modifier and TypeMethodDescriptionstatic ValidationIssue.IssueTypeReturns the enum constant of this class with the specified name.static ValidationIssue.IssueType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DUPLICATE_RULE_NAME
Two or more rules share the same name | 两个或更多规则共享相同名称 -
EMPTY_RULE_NAME
Rule name is null or blank | 规则名称为null或空白 -
NULL_CONDITION
Rule condition is null | 规则条件为null -
NULL_ACTION
Rule action is null | 规则动作为null -
NEGATIVE_PRIORITY
Rule priority is negative | 规则优先级为负数 -
EMPTY_GROUP
Rule group is an empty string | 规则分组为空字符串 -
CIRCULAR_DEPENDENCY
Circular dependency detected among rules | 检测到规则之间的循环依赖
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-