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

public static enum ConfigStatusMessage.Type extends Enum<ConfigStatusMessage.Type>
The ConfigStatusMessage.Type defines an enumeration of all supported types for a configuration status message.
  • Enum Constant Details

    • INFORMATION

      public static final ConfigStatusMessage.Type INFORMATION
      The type for an information message. It is used to provide some general information about a configuration parameter.
    • WARNING

      public static final ConfigStatusMessage.Type WARNING
      The type for a warning message. It should be used if there might be some issue with the configuration parameter.
    • ERROR

      public static final ConfigStatusMessage.Type ERROR
      The type for an error message. It should be used if there is a severe issue with the configuration parameter.
    • PENDING

      public static final ConfigStatusMessage.Type 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

      public static ConfigStatusMessage.Type[] 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

      public static ConfigStatusMessage.Type valueOf(String name)
      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 name
      NullPointerException - if the argument is null