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 Summary
FieldsFields inherited from class org.openhab.core.events.AbstractEvent
ACTOR_SEPARATOR, DELEGATION_SEPARATOR -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.openhab.core.events.AbstractEvent
buildDelegatedSource, buildDelegatedSource, buildSource, equals, getPayload, getSource, getTopic, hashCode
-
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
-