Interface DataPointFactory
public interface DataPointFactory
-
Method Summary
-
Method Details
-
create
@NotNull @NotNull DataPoint create(@NotNull @NotNull String tagName, @NotNull @NotNull Object tagValue) - Parameters:
tagName- the name for this data pointtagValue- the value for this data point- Returns:
- a
DataPointcontaining the name and value.
-
createJsonDataPoint
@NotNull @NotNull DataPoint createJsonDataPoint(@NotNull @NotNull String tagName, @NotNull @NotNull Object tagValue) Creates a DataPoint where the tagValue is treated as a JSON object.- Parameters:
tagName- the name for this data pointtagValue- the value for this data point- Returns:
- a
DataPointcontaining the name and value.
-