Package org.openhab.core.thing.events
Class ThingAddedEvent
java.lang.Object
org.openhab.core.events.AbstractEvent
org.openhab.core.thing.events.AbstractThingRegistryEvent
org.openhab.core.thing.events.ThingAddedEvent
- All Implemented Interfaces:
Event
A
ThingAddedEvent
notifies subscribers that a thing has been added.
Thing added events must be created with the ThingEventFactory
.- Author:
- Stefan Bußweiler - Initial contribution
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
ThingAddedEvent
(String topic, String payload, ThingDTO thing) Constructs a new thing added event object. -
Method Summary
Methods inherited from class org.openhab.core.thing.events.AbstractThingRegistryEvent
getThing
Methods inherited from class org.openhab.core.events.AbstractEvent
equals, getPayload, getSource, getTopic, hashCode
-
Field Details
-
TYPE
The thing added event type.
-
-
Constructor Details
-
ThingAddedEvent
Constructs a new thing added event object.- Parameters:
topic
- the topicpayload
- the payloadthing
- the thing data transfer object
-
-
Method Details