Search in sources :

Example 1 with ConfigurationReporter

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

the class DiagnosticReportHandler method configurationsReport.

public void configurationsReport(DetectInfo detectInfo, List<DetectOption> detectOptions) {
    try {
        final ReportWriter profileWriter = getReportWriter(ReportTypes.CONFIGURATION);
        final ConfigurationReporter reporter = new ConfigurationReporter();
        reporter.writeReport(profileWriter, detectInfo, detectOptions);
    } 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) ConfigurationReporter(com.blackducksoftware.integration.hub.detect.workflow.report.ConfigurationReporter)

Aggregations

ConfigurationReporter (com.blackducksoftware.integration.hub.detect.workflow.report.ConfigurationReporter)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