Package org.openhab.core.config.core
Enum Class ConfigDescriptionParameter.Type
java.lang.Object
java.lang.Enum<ConfigDescriptionParameter.Type>
org.openhab.core.config.core.ConfigDescriptionParameter.Type
- All Implemented Interfaces:
Serializable
,Comparable<ConfigDescriptionParameter.Type>
,Constable
- Enclosing class:
- ConfigDescriptionParameter
The
ConfigDescriptionParameter.Type
defines an enumeration of all supported data types a
configuration parameter can take.- Author:
- Michael Grammling - Initial contribution
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe data type for a boolean (true
orfalse
).The data type for a signed floating point value (IEEE 754) in the range of [Float.MIN_VALUE
,Float.MAX_VALUE
].The data type for a signed integer value in the range of [Integer.MIN_VALUE
,Integer.MAX_VALUE
].The data type for a UTF8 text value. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ConfigDescriptionParameter.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TEXT
The data type for a UTF8 text value. -
INTEGER
The data type for a signed integer value in the range of [Integer.MIN_VALUE
,Integer.MAX_VALUE
]. -
DECIMAL
The data type for a signed floating point value (IEEE 754) in the range of [Float.MIN_VALUE
,Float.MAX_VALUE
]. -
BOOLEAN
The data type for a boolean (true
orfalse
).
-
-
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
-