Package org.openhab.core.items
Interface TimeSeriesListener
@NonNullByDefault
public interface TimeSeriesListener
This interface must be implemented by all classes that want to be notified about |@link TimeSeries} updates of an item.
The GenericItem
class provides the possibility to register such listeners.
- Author:
- Jan N. Klug - Initial contribution
-
Method Summary
Modifier and TypeMethodDescriptionvoid
timeSeriesUpdated
(Item item, TimeSeries timeSeries) This method is called, if a time series update was sent to the item.
-
Method Details
-
timeSeriesUpdated
This method is called, if a time series update was sent to the item.- Parameters:
item
- the item the timeseries was updated fortimeSeries
- the time series
-