Class MetadataPoint.Builder
java.lang.Object
com.inductiveautomation.historian.common.model.data.MetadataPoint.Builder
- Enclosing class:
- MetadataPoint
A builder class for constructing
MetadataPoint
instances.-
Method Summary
Modifier and TypeMethodDescriptionaddValue
(PropertyValue value) Adds a property value to the builder.build()
Builds a newMetadataPoint
instance with the current builder values.quality
(QualityCode quality) Sets the quality code for the builder.source
(QualifiedPath source) Sets the source path for the builder.Sets the timestamp for the builder.values
(PropertySet values) Sets the property values for the builder.
-
Method Details
-
addValue
Adds a property value to the builder.- Parameters:
value
- The property value to add.- Returns:
- The builder instance.
-
values
Sets the property values for the builder.- Parameters:
values
- The property set to use.- Returns:
- The builder instance.
-
quality
Sets the quality code for the builder.- Parameters:
quality
- The quality code to use.- Returns:
- The builder instance.
-
timestamp
Sets the timestamp for the builder.- Parameters:
timestamp
- The timestamp to use.- Returns:
- The builder instance.
-
source
Sets the source path for the builder.- Parameters:
source
- The source path to use.- Returns:
- The builder instance.
-
build
Builds a newMetadataPoint
instance with the current builder values.- Returns:
- A new
MetadataPoint
.
-