Enum Class OpenRulesException.RuleErrorType
java.lang.Object
java.lang.Enum<OpenRulesException.RuleErrorType>
cloud.opencode.base.rules.exception.OpenRulesException.RuleErrorType
- All Implemented Interfaces:
Serializable, Comparable<OpenRulesException.RuleErrorType>, Constable
- Enclosing class:
OpenRulesException
Rule Error Type Enumeration
规则错误类型枚举
- Since:
- JDK 25, opencode-base-rules V1.0.0
- Author:
- Leon Soo www.LeonSoo.com
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAction execution error - 动作执行错误Condition evaluation error - 条件评估错误Conflict resolution error - 冲突解决错误Decision table error - 决策表错误General error - 一般错误Invalid rule definition - 无效的规则定义Rule not found - 规则未找到Timeout error - 超时错误 -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static OpenRulesException.RuleErrorType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GENERAL
General error - 一般错误 -
CONDITION_EVALUATION
Condition evaluation error - 条件评估错误 -
ACTION_EXECUTION
Action execution error - 动作执行错误 -
RULE_NOT_FOUND
Rule not found - 规则未找到 -
INVALID_DEFINITION
Invalid rule definition - 无效的规则定义 -
CONFLICT_RESOLUTION
Conflict resolution error - 冲突解决错误 -
DECISION_TABLE
Decision table error - 决策表错误 -
TIMEOUT
Timeout error - 超时错误
-
-
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
-