Package org.openhab.core.automation
Class RuleStatusInfo
java.lang.Object
org.openhab.core.automation.RuleStatusInfo
This class is used to present status of a rule. The status consists of three parts:
The main status, a status detail and a string description.
- Author:
- Yordan Mihaylov - Initial contribution, Kai Kreuzer - Refactored to match ThingStatusInfo implementation
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Default constructor for deserialization e.g. by Gson.RuleStatusInfo
(RuleStatus status) Constructs a status info.RuleStatusInfo
(RuleStatus status, RuleStatusDetail statusDetail) Constructs a status info.RuleStatusInfo
(RuleStatus status, RuleStatusDetail statusDetail, @Nullable String description) Constructs a status info. -
Method Summary
-
Constructor Details
-
RuleStatusInfo
protected RuleStatusInfo()Default constructor for deserialization e.g. by Gson. -
RuleStatusInfo
Constructs a status info.- Parameters:
status
- the status
-
RuleStatusInfo
Constructs a status info.- Parameters:
status
- the statusstatusDetail
- the detail of the status
-
RuleStatusInfo
public RuleStatusInfo(RuleStatus status, RuleStatusDetail statusDetail, @Nullable String description) Constructs a status info.- Parameters:
status
- the statusstatusDetail
- the detail of the statusdescription
- the description of the status
-
-
Method Details