Enum ArchiveViolation.Severity
- All Implemented Interfaces:
Serializable, Comparable<ArchiveViolation.Severity>, java.lang.constant.Constable
- Enclosing class:
ArchiveViolation
违规严重程度
- Since:
- 2.4.0
- Author:
- 权观宇
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ArchiveViolation.SeverityReturns the enum constant of this type with the specified name.static ArchiveViolation.Severity[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ERROR
错误:不符合 OFD-A 标准的核心约束,必须修复 -
WARN
警告:不符合标准建议,但可接受 -
INFO
信息:提示性信息
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-