Package org.openhab.core.thing
Enum Class ThingStatusDetail
- All Implemented Interfaces:
Serializable,Comparable<ThingStatusDetail>,Constable
ThingStatusDetail defines possible status details of a ThingStatusInfo.- Author:
- Stefan Bußweiler - Initial contribution, added new status details, Chris Jackson - Added GONE status
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classstatic final classstatic final classNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDevice has been removed. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ThingStatusDetail.NoneOnlyStatusstatic final ThingStatusDetail.OfflineStatusstatic final ThingStatusDetail.OnlineStatusstatic final ThingStatusDetail.NoneOnlyStatusstatic final ThingStatusDetail.NoneOnlyStatusstatic final ThingStatusDetail.UninitializedStatusstatic final ThingStatusDetail.NoneOnlyStatus -
Method Summary
Modifier and TypeMethodDescriptionstatic ThingStatusDetailReturns the enum constant of this class with the specified name.static ThingStatusDetail[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
-
NOT_YET_READY
-
HANDLER_MISSING_ERROR
-
HANDLER_REGISTERING_ERROR
-
HANDLER_INITIALIZING_ERROR
-
HANDLER_CONFIGURATION_PENDING
-
CONFIGURATION_PENDING
-
COMMUNICATION_ERROR
-
CONFIGURATION_ERROR
-
BRIDGE_OFFLINE
-
FIRMWARE_UPDATING
-
DUTY_CYCLE
-
BRIDGE_UNINITIALIZED
-
GONE
Device has been removed. Used for example when the device has been removed from its bridge and the thing handler should be removed. -
DISABLED
-
-
Field Details
-
UNINITIALIZED
-
INITIALIZING
-
UNKNOWN
-
ONLINE
-
OFFLINE
-
REMOVING
-
REMOVED
-
-
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
-