Class ResultsReportHandler

  • All Implemented Interfaces:
    ReportHandler

    public class ResultsReportHandler
    extends Object
    implements ReportHandler
    This class handles/processes validation results by collecting detected errors Although there may be production uses, this class is currently designed to facilitate testing.
    Since:
    2020-12-20
    Author:
    awoods
    • Constructor Detail

      • ResultsReportHandler

        public ResultsReportHandler()
    • Method Detail

      • beginReport

        public void beginReport()
        A hook indicating the start of a result processing run
        Specified by:
        beginReport in interface ReportHandler
      • objectLevelReport

        public String objectLevelReport​(ObjectValidationResults objectValidationResults)
        A hook hook for processing an object level validation report
        Specified by:
        objectLevelReport in interface ReportHandler
        Parameters:
        objectValidationResults - An individual object validation report
        Returns:
        filename of object report
      • repositoryLevelReport

        public String repositoryLevelReport​(ObjectValidationResults objectValidationResults)
        Description copied from interface: ReportHandler
        A hook for processing a repository level validation report
        Specified by:
        repositoryLevelReport in interface ReportHandler
        Parameters:
        objectValidationResults - An individual validation report
        Returns:
        filename of repository report
      • endReport

        public void endReport()
        A hook indicating the end of a result processing run
        Specified by:
        endReport in interface ReportHandler