Search in sources :

Example 1 with ProfilingReporter

use of com.blackducksoftware.integration.hub.detect.workflow.report.ProfilingReporter in project hub-detect by blackducksoftware.

the class DiagnosticReportHandler method detectorsProfiled.

private void detectorsProfiled(DetectorTimings detectorTimings) {
    try {
        final ReportWriter profileWriter = getReportWriter(ReportTypes.DETECTOR_PROFILE);
        final ProfilingReporter reporter = new ProfilingReporter();
        reporter.writeReport(profileWriter, detectorTimings);
    } catch (final Exception e) {
        logger.error("Failed to write profiling report.", e);
    }
}
Also used : FileReportWriter(com.blackducksoftware.integration.hub.detect.workflow.report.writer.FileReportWriter) ReportWriter(com.blackducksoftware.integration.hub.detect.workflow.report.writer.ReportWriter) InfoLogReportWriter(com.blackducksoftware.integration.hub.detect.workflow.report.writer.InfoLogReportWriter) ProfilingReporter(com.blackducksoftware.integration.hub.detect.workflow.report.ProfilingReporter)

Aggregations

ProfilingReporter (com.blackducksoftware.integration.hub.detect.workflow.report.ProfilingReporter)1 FileReportWriter (com.blackducksoftware.integration.hub.detect.workflow.report.writer.FileReportWriter)1 InfoLogReportWriter (com.blackducksoftware.integration.hub.detect.workflow.report.writer.InfoLogReportWriter)1 ReportWriter (com.blackducksoftware.integration.hub.detect.workflow.report.writer.ReportWriter)1