Enum Class DocWriter.NoticeType
- All Implemented Interfaces:
Serializable
,Comparable<DocWriter.NoticeType>
,Constable
- Enclosing class:
- DocWriter
The type of admonition.
This affects the default title of the admonition, as well as styling.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA notice that adds context with extreme severity.An notice that adds context which is important, but not severely so.A notice that refers to external context or highlights information.An notice that adds context without any strong severity.A notice that adds context with strong severity. -
Method Summary
Modifier and TypeMethodDescriptionstatic DocWriter.NoticeType
Returns the enum constant of this class with the specified name.static DocWriter.NoticeType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOTE
An notice that adds context without any strong severity. -
IMPORTANT
An notice that adds context which is important, but not severely so. -
WARNING
A notice that adds context with strong severity.This might be used by deprecation notices or required badges, for example.
-
DANGER
A notice that adds context with extreme severity.This might be used to add information about security-related concerns, such as sensitive shapes and members.
-
INFO
A notice that refers to external context or highlights information.
-
-
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
-