Package org.openhab.core.items.events
Class ItemTimeSeriesEvent
java.lang.Object
org.openhab.core.events.AbstractEvent
org.openhab.core.items.events.ItemEvent
org.openhab.core.items.events.ItemTimeSeriesEvent
- All Implemented Interfaces:
Event
The
ItemTimeSeriesEvent 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
FieldsFields inherited from class org.openhab.core.events.AbstractEvent
ACTOR_SEPARATOR, DELEGATION_SEPARATOR -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedItemTimeSeriesEvent(String topic, String payload, String itemName, TimeSeries timeSeries, @Nullable String source) Constructs a new item time series event. -
Method Summary
Methods inherited from class org.openhab.core.items.events.ItemEvent
getItemNameMethods inherited from class org.openhab.core.events.AbstractEvent
buildDelegatedSource, buildDelegatedSource, buildSource, equals, getPayload, getSource, getTopic, hashCode
-
Field Details
-
TYPE
-
timeSeries
-
-
Constructor Details
-
ItemTimeSeriesEvent
protected ItemTimeSeriesEvent(String topic, String payload, String itemName, TimeSeries timeSeries, @Nullable String source) Constructs a new item time series event.- Parameters:
topic- the topicpayload- the payloaditemName- the item nametimeSeries- the time seriessource- the source, can be null
-
-
Method Details