Class RuleRemovedEvent
java.lang.Object
org.openhab.core.events.AbstractEvent
org.openhab.core.automation.events.AbstractRuleRegistryEvent
org.openhab.core.automation.events.RuleRemovedEvent
- All Implemented Interfaces:
Event
An
RuleRemovedEvent
notifies subscribers that a rule has been removed.- Author:
- Benedikt Niehues - Initial contribution
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRuleRemovedEvent
(String topic, String payload, @Nullable String source, RuleDTO rule) Constructs a new rule removed event -
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
-
RuleRemovedEvent
Constructs a new rule removed event- Parameters:
topic
- the topic of the eventpayload
- the payload of the eventsource
- the source of the eventrule
- the rule for which this event is
-
-
Method Details