Search in sources :

Example 1 with ConfigurationReporter

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

the class DiagnosticReportHandler method configurationsReport.

public void configurationsReport(DetectInfo detectInfo, PropertyConfiguration propertyConfiguration, SortedMap<String, String> maskedRawPropertyValues) {
    try {
        ReportWriter profileWriter = getReportWriter(ReportTypes.CONFIGURATION);
        ConfigurationReporter reporter = new ConfigurationReporter();
        reporter.writeReport(profileWriter, detectInfo, propertyConfiguration, maskedRawPropertyValues);
    } catch (Exception e) {
        logger.error("Failed to write profiling report.", e);
    }
}
Also used : ReportWriter(com.synopsys.integration.detect.workflow.report.writer.ReportWriter) FileReportWriter(com.synopsys.integration.detect.workflow.report.writer.FileReportWriter) InfoLogReportWriter(com.synopsys.integration.detect.workflow.report.writer.InfoLogReportWriter) ConfigurationReporter(com.synopsys.integration.detect.workflow.report.ConfigurationReporter)

Example 2 with ConfigurationReporter

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

the class DiagnosticReportHandler method configurationsReport.

public void configurationsReport(DetectInfo detectInfo, PropertyConfiguration propertyConfiguration, SortedMap<String, String> maskedRawPropertyValues, Set<String> propertyKeys) {
    try {
        ReportWriter profileWriter = getReportWriter(ReportTypes.CONFIGURATION);
        ConfigurationReporter reporter = new ConfigurationReporter();
        reporter.writeReport(profileWriter, detectInfo, propertyConfiguration, maskedRawPropertyValues, propertyKeys);
    } catch (Exception e) {
        logger.error("Failed to write profiling report.", e);
    }
}
Also used : ReportWriter(com.synopsys.integration.detect.workflow.report.writer.ReportWriter) FileReportWriter(com.synopsys.integration.detect.workflow.report.writer.FileReportWriter) InfoLogReportWriter(com.synopsys.integration.detect.workflow.report.writer.InfoLogReportWriter) ConfigurationReporter(com.synopsys.integration.detect.workflow.report.ConfigurationReporter)

Aggregations

ConfigurationReporter (com.synopsys.integration.detect.workflow.report.ConfigurationReporter)2 FileReportWriter (com.synopsys.integration.detect.workflow.report.writer.FileReportWriter)2 InfoLogReportWriter (com.synopsys.integration.detect.workflow.report.writer.InfoLogReportWriter)2 ReportWriter (com.synopsys.integration.detect.workflow.report.writer.ReportWriter)2