Class ProjectReportWriter

java.lang.Object
com.exasol.errorcodecrawlermavenplugin.writer.ProjectReportWriter

public class ProjectReportWriter extends Object
This class wraps ErrorCodeReportWriter and project report path
  • Field Details

    • REPORT_PATH

      public static final Path REPORT_PATH
      Represents Error Code Report Path
  • Constructor Details

    • ProjectReportWriter

      public ProjectReportWriter(Path projectDir)
      Creates a new instance of ProjectReportWriter
      Parameters:
      projectDir - represents project directory Path
  • Method Details

    • writeReport

      public void writeReport(com.exsol.errorcodemodel.ErrorCodeReport report)
      Decorates ErrorCodeReport writeReport method and makes sure that target directory exists before writing the report
      Parameters:
      report - ErrorCodeReport