Interface Difference


public interface Difference
Describes differences between documents.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable Object
    Actual node serialized as Map<String, Object> for objects, BigDecimal for numbers, ...
    @Nullable String
    Path to the difference
    @Nullable Object
    Expected node serialized as Map<String, Object> for objects, BigDecimal for numbers, ...
    @Nullable String
    Path to the expected element (may be different from actual path if IGNORE_ARRAY_ORDER is used)
    Type of the difference
  • Method Details

    • getActualPath

      @Nullable String getActualPath()
      Path to the difference
    • getExpectedPath

      @Nullable String getExpectedPath()
      Path to the expected element (may be different from actual path if IGNORE_ARRAY_ORDER is used)
    • getActual

      @Nullable Object getActual()
      Actual node serialized as Map<String, Object> for objects, BigDecimal for numbers, ...
    • getExpected

      @Nullable Object getExpected()
      Expected node serialized as Map<String, Object> for objects, BigDecimal for numbers, ...
    • getType

      Difference.Type getType()
      Type of the difference