Package org.openhab.core.items.events
Class ItemStateUpdatedEvent
java.lang.Object
org.openhab.core.events.AbstractEvent
org.openhab.core.items.events.ItemEvent
org.openhab.core.items.events.ItemStateUpdatedEvent
- All Implemented Interfaces:
Event
- Direct Known Subclasses:
GroupStateUpdatedEvent
ItemStateUpdatedEvent
s can be used to report item status updates through the openHAB event bus.
State update events must be created with the ItemEventFactory
.- Author:
- Jan N. Klug - Initial contribution
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class org.openhab.core.items.events.ItemEvent
getItemName
Methods inherited from class org.openhab.core.events.AbstractEvent
equals, getPayload, getSource, getTopic, hashCode
-
Field Details
-
TYPE
The item state event type. -
itemState
-
-
Constructor Details
-
ItemStateUpdatedEvent
protected ItemStateUpdatedEvent(String topic, String payload, String itemName, State itemState, @Nullable String source) Constructs a new item state event.- Parameters:
topic
- the topicpayload
- the payloaditemName
- the item nameitemState
- the item statesource
- the source, can be null
-
-
Method Details