Class DefaultDeltaChange

java.lang.Object
com.helixframework.delta.internal.DefaultDeltaChange
All Implemented Interfaces:
DeltaChange

public final class DefaultDeltaChange extends Object implements DeltaChange
  • Constructor Details

  • Method Details

    • op

      public DeltaOp op()
      Description copied from interface: DeltaChange
      Returns the normalized operation represented by this change.
      Specified by:
      op in interface DeltaChange
      Returns:
      delta operation
    • path

      public String path()
      Description copied from interface: DeltaChange
      Returns the absolute JSON Pointer path for this change.
      Specified by:
      path in interface DeltaChange
      Returns:
      changed path
    • parentPath

      public String parentPath()
      Description copied from interface: DeltaChange
      Returns the parent path that directly contains the changed node.
      Specified by:
      parentPath in interface DeltaChange
      Returns:
      parent path
    • ancestors

      public List<String> ancestors()
      Description copied from interface: DeltaChange
      Returns the ordered ancestor chain from the root to the parent path.
      Specified by:
      ancestors in interface DeltaChange
      Returns:
      ancestor paths
    • beforeValue

      public com.fasterxml.jackson.databind.JsonNode beforeValue()
      Description copied from interface: DeltaChange
      Returns the value from the before document, or a redacted/null placeholder when the active options suppress it.
      Specified by:
      beforeValue in interface DeltaChange
      Returns:
      before value view
    • afterValue

      public com.fasterxml.jackson.databind.JsonNode afterValue()
      Description copied from interface: DeltaChange
      Returns the value from the after document, or a redacted/null placeholder when the active options suppress it.
      Specified by:
      afterValue in interface DeltaChange
      Returns:
      after value view
    • classification

      public ChangeClassification classification()
      Description copied from interface: DeltaChange
      Returns the structural classification of the change.
      Specified by:
      classification in interface DeltaChange
      Returns:
      change classification
    • inclusionReason

      public InclusionReason inclusionReason()
      Description copied from interface: DeltaChange
      Returns why this path was included in the delta output.
      Specified by:
      inclusionReason in interface DeltaChange
      Returns:
      inclusion reason
    • explain

      public String explain()
      Description copied from interface: DeltaChange
      Returns a human-readable explanation suitable for logs and audit output.
      Specified by:
      explain in interface DeltaChange
      Returns:
      explanation text