Enum Class EditorErrorEvent.ErrorSeverity
java.lang.Object
java.lang.Enum<EditorErrorEvent.ErrorSeverity>
com.wontlost.ckeditor.event.EditorErrorEvent.ErrorSeverity
- All Implemented Interfaces:
Serializable, Comparable<EditorErrorEvent.ErrorSeverity>, Constable
- Enclosing class:
EditorErrorEvent
错误严重程度
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static EditorErrorEvent.ErrorSeverity[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WARNING
警告级别,不影响编辑器功能 -
ERROR
错误级别,部分功能受影响 -
FATAL
致命级别,编辑器无法正常工作
-
-
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
-