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
FieldsFields inherited from class org.openhab.core.events.AbstractEvent
ACTOR_SEPARATOR, DELEGATION_SEPARATOR -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedItemRemovedEvent(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
getItemMethods inherited from class org.openhab.core.events.AbstractEvent
buildDelegatedSource, buildDelegatedSource, buildSource, 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