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
FieldsFields inherited from class org.openhab.core.events.AbstractEvent
ACTOR_SEPARATOR, DELEGATION_SEPARATOR -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.openhab.core.automation.events.AbstractRuleRegistryEvent
getRuleMethods inherited from class org.openhab.core.events.AbstractEvent
buildDelegatedSource, buildDelegatedSource, buildSource, 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