Package org.openhab.core.items.events
Class ItemTimeSeriesUpdatedEvent
java.lang.Object
org.openhab.core.events.AbstractEvent
org.openhab.core.items.events.ItemEvent
org.openhab.core.items.events.ItemTimeSeriesUpdatedEvent
- All Implemented Interfaces:
Event
The
ItemTimeSeriesUpdatedEvent
can be used to report item time series updates through the openHAB event bus.
Time series events must be created with the ItemEventFactory
.- Author:
- Jan N. Klug - Initial contribution
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
ItemTimeSeriesUpdatedEvent
(String topic, String payload, String itemName, TimeSeries timeSeries, @Nullable String source) Constructs a new item time series updated event. -
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
-
timeSeries
-
-
Constructor Details
-
ItemTimeSeriesUpdatedEvent
protected ItemTimeSeriesUpdatedEvent(String topic, String payload, String itemName, TimeSeries timeSeries, @Nullable String source) Constructs a new item time series updated event.- Parameters:
topic
- the topicpayload
- the payloaditemName
- the item nametimeSeries
- the time seriessource
- the source, can be null
-
-
Method Details