public ReportBuilder( List<String> jsonReports, File reportDirectory, String pluginUrlPath, String buildNumber, String buildProject, boolean skippedFails, boolean undefinedFails, boolean flashCharts, boolean runWithJenkins, boolean artifactsEnabled, String artifactConfig) throws Exception { ConfigurationOptions.setSkippedFailsBuild(skippedFails); ConfigurationOptions.setUndefinedFailsBuild(undefinedFails); ConfigurationOptions.setArtifactsEnabled(artifactsEnabled); if (artifactsEnabled) { ArtifactProcessor artifactProcessor = new ArtifactProcessor(artifactConfig); ConfigurationOptions.setArtifactConfiguration(artifactProcessor.process()); } ReportParser reportParser = new ReportParser(jsonReports); this.ri = new ReportInformation(reportParser.getFeatures()); this.reportDirectory = reportDirectory; this.buildNumber = buildNumber; this.buildProject = buildProject; this.pluginUrlPath = getPluginUrlPath(pluginUrlPath); this.flashCharts = flashCharts; this.runWithJenkins = runWithJenkins; this.artifactsEnabled = artifactsEnabled; }