Class CsvReportHandler

  • All Implemented Interfaces:
    ReportHandler

    public class CsvReportHandler
    extends Object
    implements ReportHandler
    Report handler for csv output
    Author:
    mikejritter
    • Constructor Detail

      • CsvReportHandler

        public CsvReportHandler​(Path outputDir,
                                ReportType reportType)
        Constructor
        Parameters:
        outputDir - the directory to write csv outputs
        reportType - the report type to generate, only csv or tsv
    • Method Detail

      • beginReport

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

        public String objectLevelReport​(ObjectValidationResults objectValidationResults)
        Description copied from interface: ReportHandler
        A 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()
        Description copied from interface: ReportHandler
        A hook indicating the end of a result processing run
        Specified by:
        endReport in interface ReportHandler