Package org.openhab.core.items.events
Class ItemEvent
java.lang.Object
org.openhab.core.events.AbstractEvent
org.openhab.core.items.events.ItemEvent
- All Implemented Interfaces:
Event
- Direct Known Subclasses:
ItemCommandEvent
,ItemStateChangedEvent
,ItemStateEvent
,ItemStatePredictedEvent
,ItemStateUpdatedEvent
,ItemTimeSeriesEvent
,ItemTimeSeriesUpdatedEvent
ItemEvent
is an abstract super class for all command and state item events.- Author:
- Kai Kreuzer - Initial contribution
-
Field Details
-
itemName
-
-
Constructor Details
-
ItemEvent
Constructs a new item state event.- Parameters:
topic
- the topicpayload
- the payloaditemName
- the item namesource
- the source, can be null
-
-
Method Details
-
getItemName
Gets the item name.- Returns:
- the item name
-