Package org.openhab.core.thing.events
Class ThingRemovedEvent
java.lang.Object
org.openhab.core.events.AbstractEvent
org.openhab.core.thing.events.AbstractThingRegistryEvent
org.openhab.core.thing.events.ThingRemovedEvent
- All Implemented Interfaces:
Event
A
ThingRemovedEvent
notifies subscribers that a thing has been removed.
Thing removed events must be created with the ThingEventFactory
.- Author:
- Stefan Bußweiler - Initial contribution
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
ThingRemovedEvent
(String topic, String payload, ThingDTO thing) Constructs a new thing removed 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 removed event type.
-
-
Constructor Details
-
ThingRemovedEvent
Constructs a new thing removed event object.- Parameters:
topic
- the topicpayload
- the payloadthing
- the thing data transfer object
-
-
Method Details