Class RuleAddedEvent
java.lang.Object
org.openhab.core.events.AbstractEvent
org.openhab.core.automation.events.AbstractRuleRegistryEvent
org.openhab.core.automation.events.RuleAddedEvent
- All Implemented Interfaces:
Event
An
RuleAddedEvent notifies subscribers that a rule has been added.- Author:
- Benedikt Niehues - Initial contribution
-
Field Summary
FieldsFields inherited from class org.openhab.core.events.AbstractEvent
ACTOR_SEPARATOR, DELEGATION_SEPARATOR -
Constructor Summary
ConstructorsConstructorDescriptionRuleAddedEvent(String topic, String payload, @Nullable String source, RuleDTO rule) constructs a new rule added event -
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
-
RuleAddedEvent
constructs a new rule added 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 created
-
-
Method Details