Package org.openhab.core.thing
Class ThingStatusInfo
java.lang.Object
org.openhab.core.thing.ThingStatusInfo
A
ThingStatusInfo
represents status information of a thing which consists of
- the status itself
- detail of the status
- and a description of the status
- Author:
- Stefan Bußweiler - Initial contribution, Dennis Nobel - Added null checks
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Default constructor for deserialization e.g. by Gson.ThingStatusInfo
(ThingStatus status, ThingStatusDetail statusDetail, @Nullable String description) Constructs a status info. -
Method Summary
-
Constructor Details
-
ThingStatusInfo
protected ThingStatusInfo()Default constructor for deserialization e.g. by Gson. -
ThingStatusInfo
public ThingStatusInfo(ThingStatus status, ThingStatusDetail statusDetail, @Nullable String description) Constructs a status info.- Parameters:
status
- the status (must not be null)statusDetail
- the detail of the status (must not be null)description
- the description of the status
-
-
Method Details