Class MetadataPoint.Builder

java.lang.Object
com.inductiveautomation.historian.common.model.data.MetadataPoint.Builder
Enclosing class:
MetadataPoint

public static class MetadataPoint.Builder extends Object
A builder class for constructing MetadataPoint instances.
  • Method Details

    • addValue

      public MetadataPoint.Builder addValue(PropertyValue value)
      Adds a property value to the builder.
      Parameters:
      value - The property value to add.
      Returns:
      The builder instance.
    • values

      public MetadataPoint.Builder values(PropertySet values)
      Sets the property values for the builder.
      Parameters:
      values - The property set to use.
      Returns:
      The builder instance.
    • quality

      public MetadataPoint.Builder quality(QualityCode quality)
      Sets the quality code for the builder.
      Parameters:
      quality - The quality code to use.
      Returns:
      The builder instance.
    • timestamp

      public MetadataPoint.Builder timestamp(Instant timestamp)
      Sets the timestamp for the builder.
      Parameters:
      timestamp - The timestamp to use.
      Returns:
      The builder instance.
    • source

      public MetadataPoint.Builder source(QualifiedPath source)
      Sets the source path for the builder.
      Parameters:
      source - The source path to use.
      Returns:
      The builder instance.
    • build

      public MetadataPoint build()
      Builds a new MetadataPoint instance with the current builder values.
      Returns:
      A new MetadataPoint.