Class CheckerResult

java.lang.Object
com.deltaxml.deltacheck.CheckerResult

public class CheckerResult extends Object

An abstract representation of Checker.check(CheckerInput, CheckerInput) output.

An instance of this class produces two result types:

  • Boolean - decides whether the content of both input files is equal
  • Change Report - Represents content changes between A and B input files
Since:
0.1
Author:
Michael Polowczuk
  • Method Details

    • isContentEqual

      public boolean isContentEqual()
      States whether the content of both of the inputs are equal.
      Returns:
      a boolean deciding the equality of the input files content.
    • getChangeReport

      public File getChangeReport()
      Returns a File object which contains a detailed analysis of the content that has changed between A and B inputs.
      Returns:
      a file with an analysis of the content changes.