Class ReportGenerator
- java.lang.Object
-
- de.tracetronic.jenkins.plugins.ecutest.report.generator.ReportGenerator
-
public class ReportGenerator extends Object
Class providing the report generation with a specific generator.
-
-
Constructor Summary
Constructors Constructor Description ReportGenerator(ReportGeneratorConfig config)
Instantiates a newReportGenerator
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
generate(List<FilePath> reportFiles, Launcher launcher, TaskListener listener)
Generate reports by calling theReportGenerator.GenerateReportCallable
.ReportGeneratorConfig
getConfig()
-
-
-
Constructor Detail
-
ReportGenerator
public ReportGenerator(ReportGeneratorConfig config)
Instantiates a newReportGenerator
.- Parameters:
config
- the configuration
-
-
Method Detail
-
getConfig
public ReportGeneratorConfig getConfig()
-
generate
public boolean generate(List<FilePath> reportFiles, Launcher launcher, TaskListener listener) throws IOException, InterruptedException
Generate reports by calling theReportGenerator.GenerateReportCallable
.- Parameters:
reportFiles
- the report fileslauncher
- the launcherlistener
- the listener- Returns:
true
if generation succeeded,false
otherwise- Throws:
IOException
- signals that an I/O exception has occurredInterruptedException
- if the build gets interrupted
-
-