Class RuleStatusInfoEvent

java.lang.Object
org.openhab.core.events.AbstractEvent
org.openhab.core.automation.events.RuleStatusInfoEvent
All Implemented Interfaces:
Event

@NonNullByDefault public class RuleStatusInfoEvent extends AbstractEvent
An RuleStatusInfoEvent notifies subscribers that a rule status has been updated.
Author:
Benedikt Niehues - Initial contribution, Kai Kreuzer - added toString method
  • Field Details

    • TYPE

      public static final String TYPE
  • Constructor Details

    • RuleStatusInfoEvent

      public RuleStatusInfoEvent(String topic, String payload, @Nullable String source, RuleStatusInfo statusInfo, String ruleId)
      constructs a new rule status event
      Parameters:
      topic - the topic of the event
      payload - the payload of the event
      source - the source of the event
      statusInfo - the status info for this event
      ruleId - the rule for which this event is
  • Method Details

    • getType

      public String getType()
      Description copied from interface: Event
      Gets the event type.
      Returns:
      the event type
    • getStatusInfo

      public RuleStatusInfo getStatusInfo()
      Returns:
      the statusInfo
    • getRuleId

      public String getRuleId()
      Returns:
      the ruleId
    • toString

      public String toString()
      Overrides:
      toString in class Object