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