- All Implemented Interfaces:
Serializable,Comparable<NotificationBuilder.Type>,Constable
- Enclosing interface:
- NotificationBuilder
The notification type.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDisplays some information that the user must commit.Displays an error.Displays some information.No dedicated purpose.Displays a question that the user must answer.Displays a warning. -
Method Summary
Modifier and TypeMethodDescriptionstatic NotificationBuilder.TypeReturns the enum constant of this class with the specified name.static NotificationBuilder.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No dedicated purpose. Used by applications, if nothing else fits. There is no default title and no default graphic. -
INFORMATION
Displays some information. -
WARNING
Displays a warning. -
ERROR
Displays an error. -
CONFIRMATION
Displays some information that the user must commit. -
QUESTION
Displays a question that the user must answer.
-
-
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
-