public class Trend extends Object
TrendPlotter.
This class is thread-safe, all methods can be called on any thread.
If the Trend instance is associated with a plotter, the plotter will be automatically
notified of any relevant changes in the trend.| Modifier and Type | Class and Description |
|---|---|
static class |
Trend.Meta
Enumeration of metadata types that might be plotted for a trending channel.
|
| Constructor and Description |
|---|
Trend(TrendingChannel channel) |
| Modifier and Type | Method and Description |
|---|---|
TrendingChannel |
getChannel() |
TrendData |
getData() |
TrendPlotter |
getPlotter() |
long[] |
getTimeRange() |
long |
getTimestamp() |
TimeWindow |
getTimeWindow() |
boolean |
isLoading() |
void |
setData(TrendData data) |
boolean |
setLoading(boolean value) |
void |
setTimestamp(long timestamp) |
void |
setTimeWindow(TimeWindow timeWindow) |
public Trend(TrendingChannel channel)
public TrendingChannel getChannel()
public TrendPlotter getPlotter()
public TrendData getData()
public void setData(TrendData data)
public TimeWindow getTimeWindow()
public void setTimeWindow(TimeWindow timeWindow)
public long getTimestamp()
public void setTimestamp(long timestamp)
public long[] getTimeRange()
public boolean setLoading(boolean value)
public boolean isLoading()
Copyright © 2018 LSST. All rights reserved.