Class DeltaOptions.Builder

java.lang.Object
com.helixframework.delta.DeltaOptions.Builder
Enclosing class:
DeltaOptions

public static final class DeltaOptions.Builder extends Object
Builder for DeltaOptions.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • includeBeforeValues

      public DeltaOptions.Builder includeBeforeValues(boolean value)
      Controls whether before values are exposed in emitted changes.
      Parameters:
      value - desired flag
      Returns:
      this builder
    • includeAfterValues

      public DeltaOptions.Builder includeAfterValues(boolean value)
      Controls whether after values are exposed in emitted changes.
      Parameters:
      value - desired flag
      Returns:
      this builder
    • includeProjection

      public DeltaOptions.Builder includeProjection(boolean value)
      Controls whether a changed-only projection is generated.
      Parameters:
      value - desired flag
      Returns:
      this builder
    • includeAncestors

      public DeltaOptions.Builder includeAncestors(boolean value)
      Controls whether ancestor chains are attached to emitted changes.
      Parameters:
      value - desired flag
      Returns:
      this builder
    • normalizeNumbers

      public DeltaOptions.Builder normalizeNumbers(boolean value)
      Controls whether numerically equivalent values should compare equal.
      Parameters:
      value - desired flag
      Returns:
      this builder
    • ignoredPaths

      public DeltaOptions.Builder ignoredPaths(Set<String> value)
      Configures exact or subtree paths that should be skipped entirely.
      Parameters:
      value - ignored paths
      Returns:
      this builder
    • redactedPaths

      public DeltaOptions.Builder redactedPaths(Set<String> value)
      Configures exact or subtree paths whose values should be redacted.
      Parameters:
      value - redacted paths
      Returns:
      this builder
    • arrayMatchingStrategy

      public DeltaOptions.Builder arrayMatchingStrategy(ArrayMatchingStrategy value)
      Configures how arrays are matched while diffing.
      Parameters:
      value - array strategy
      Returns:
      this builder
    • build

      public DeltaOptions build()
      Builds an immutable DeltaOptions instance.
      Returns:
      immutable options