Interface TaskReportFileWriter

All Known Implementing Classes:
SingleFileTaskReportFileWriter

public interface TaskReportFileWriter
  • Method Details

    • write

      void write(String taskId, TaskReport.ReportMap reports)
    • openReportOutputStream

      OutputStream openReportOutputStream(String taskId) throws IOException
      Throws:
      IOException
    • setObjectMapper

      void setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • getReportsFile

      @Nullable File getReportsFile(String taskId)
      Returns the reports file for the given taskId. Returns null if writer does not write reports to any file.