Class RuleUpdatedEvent
java.lang.Object
org.openhab.core.events.AbstractEvent
org.openhab.core.automation.events.AbstractRuleRegistryEvent
org.openhab.core.automation.events.RuleUpdatedEvent
- All Implemented Interfaces:
Event
An
RuleUpdatedEvent
notifies subscribers that a rule has been updated.- Author:
- Benedikt Niehues - Initial contribution
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class org.openhab.core.automation.events.AbstractRuleRegistryEvent
getRule
Methods inherited from class org.openhab.core.events.AbstractEvent
equals, getPayload, getSource, getTopic, hashCode
-
Field Details
-
TYPE
-
-
Constructor Details
-
RuleUpdatedEvent
public RuleUpdatedEvent(String topic, String payload, @Nullable String source, RuleDTO rule, RuleDTO oldRule) constructs a new rule updated event- Parameters:
topic
- the topic of the eventpayload
- the payload of the eventsource
- the source of the eventrule
- the rule for which is this eventoldRule
- the rule that has been updated
-
-
Method Details