Package org.openhab.core.items.events
Class ItemUpdatedEvent
java.lang.Object
org.openhab.core.events.AbstractEvent
org.openhab.core.items.events.AbstractItemRegistryEvent
org.openhab.core.items.events.ItemUpdatedEvent
- All Implemented Interfaces:
Event
An
ItemUpdatedEvent notifies subscribers that an item has been updated.
Item updated events must be created with the ItemEventFactory.- Author:
- Stefan Bußweiler - Initial contribution
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedItemUpdatedEvent(String topic, String payload, ItemDTO item, ItemDTO oldItem) Constructs a new item updated event object. -
Method Summary
Methods inherited from class org.openhab.core.items.events.AbstractItemRegistryEvent
getItemMethods inherited from class org.openhab.core.events.AbstractEvent
equals, getPayload, getSource, getTopic, hashCode
-
Field Details
-
TYPE
The item updated event type.
-
-
Constructor Details
-
ItemUpdatedEvent
Constructs a new item updated event object.- Parameters:
topic- the topicpayload- the payloaditem- the item data transfer objectoldItem- the old item data transfer object
-
-
Method Details