Enum Class ConfigStatusMessage.Type
java.lang.Object
java.lang.Enum<ConfigStatusMessage.Type>
org.openhab.core.config.core.status.ConfigStatusMessage.Type
- All Implemented Interfaces:
Serializable
,Comparable<ConfigStatusMessage.Type>
,Constable
- Enclosing class:
- ConfigStatusMessage
The
ConfigStatusMessage.Type
defines an enumeration of all supported types for a configuration status message.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe type for an error message.The type for an information message.The type for a pending message.The type for a warning message. -
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigStatusMessage.Type
Returns the enum constant of this class with the specified name.static ConfigStatusMessage.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INFORMATION
The type for an information message. It is used to provide some general information about a configuration parameter. -
WARNING
The type for a warning message. It should be used if there might be some issue with the configuration parameter. -
ERROR
The type for an error message. It should be used if there is a severe issue with the configuration parameter. -
PENDING
The type for a pending message. It should be used if the transmission of the configuration parameter to the entity is pending.
-
-
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
-