Package org.openhab.core.items.events
Class ItemAddedEvent
java.lang.Object
org.openhab.core.events.AbstractEvent
org.openhab.core.items.events.AbstractItemRegistryEvent
org.openhab.core.items.events.ItemAddedEvent
- All Implemented Interfaces:
 Event
An 
ItemAddedEvent notifies subscribers that an item has been added.
 Item added events must be created with the ItemEventFactory.- Author:
 - Stefan Bußweiler - Initial contribution
 
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedItemAddedEvent(String topic, String payload, ItemDTO item) Constructs a new item added 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 added event type. 
 - 
 - 
Constructor Details
- 
ItemAddedEvent
Constructs a new item added event object.- Parameters:
 topic- the topicpayload- the payloaditem- the item data transfer object
 
 - 
 - 
Method Details