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