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
    Actual node serialized as Map<String, Object> for objects, BigDecimal for numbers, ...
    Path to the difference
    Expected node serialized as Map<String, Object> for objects, BigDecimal for numbers, ...
    Path to the expected element (may be different than actual path if IGNORE_ARRAY_ORDER is used)
    Type of the difference
  • Method Details

    • getActualPath

      String getActualPath()
      Path to the difference
    • getExpectedPath

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

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

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

      Difference.Type getType()
      Type of the difference