Enum Class YmlSecurityException.SecurityViolationType
java.lang.Object
java.lang.Enum<YmlSecurityException.SecurityViolationType>
cloud.opencode.base.yml.exception.YmlSecurityException.SecurityViolationType
- All Implemented Interfaces:
Serializable, Comparable<YmlSecurityException.SecurityViolationType>, Constable
- Enclosing class:
YmlSecurityException
public static enum YmlSecurityException.SecurityViolationType
extends Enum<YmlSecurityException.SecurityViolationType>
Security Violation Type - Types of security violations
安全违规类型 - 安全违规的类型
- Since:
- JDK 25, opencode-base-yml 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 ConstantDescriptionAlias limit exceeded (YAML bomb prevention) 别名数量超限(YAML 炸弹防护)Document size exceeded 文档大小超限Forbidden type deserialization 禁止的类型反序列化Nesting depth exceeded 嵌套深度超限Recursive reference detected 检测到循环引用 -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALIAS_LIMIT_EXCEEDED
Alias limit exceeded (YAML bomb prevention) 别名数量超限(YAML 炸弹防护) -
NESTING_DEPTH_EXCEEDED
Nesting depth exceeded 嵌套深度超限 -
DOCUMENT_SIZE_EXCEEDED
Document size exceeded 文档大小超限 -
FORBIDDEN_TYPE
Forbidden type deserialization 禁止的类型反序列化 -
RECURSIVE_REFERENCE
Recursive reference detected 检测到循环引用
-
-
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
-