Package com.helixframework.delta
Interface DeltaChange
- All Known Implementing Classes:
DefaultDeltaChange
public interface DeltaChange
One atomic add, remove, or replace operation in a computed delta.
-
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodeReturns the value from the after document, or a redacted/null placeholder when the active options suppress it.Returns the ordered ancestor chain from the root to the parent path.com.fasterxml.jackson.databind.JsonNodeReturns the value from the before document, or a redacted/null placeholder when the active options suppress it.Returns the structural classification of the change.explain()Returns a human-readable explanation suitable for logs and audit output.Returns why this path was included in the delta output.op()Returns the normalized operation represented by this change.Returns the parent path that directly contains the changed node.path()Returns the absolute JSON Pointer path for this change.
-
Method Details
-
op
DeltaOp op()Returns the normalized operation represented by this change.- Returns:
- delta operation
-
path
String path()Returns the absolute JSON Pointer path for this change.- Returns:
- changed path
-
parentPath
String parentPath()Returns the parent path that directly contains the changed node.- Returns:
- parent path
-
ancestors
Returns the ordered ancestor chain from the root to the parent path.- Returns:
- ancestor paths
-
beforeValue
com.fasterxml.jackson.databind.JsonNode beforeValue()Returns the value from the before document, or a redacted/null placeholder when the active options suppress it.- Returns:
- before value view
-
afterValue
com.fasterxml.jackson.databind.JsonNode afterValue()Returns the value from the after document, or a redacted/null placeholder when the active options suppress it.- Returns:
- after value view
-
classification
ChangeClassification classification()Returns the structural classification of the change.- Returns:
- change classification
-
inclusionReason
InclusionReason inclusionReason()Returns why this path was included in the delta output.- Returns:
- inclusion reason
-
explain
String explain()Returns a human-readable explanation suitable for logs and audit output.- Returns:
- explanation text
-