Class TraceAnalysisRunner
java.lang.Object
de.tracetronic.jenkins.plugins.ecutest.report.ta.TraceAnalysisRunner
Class providing the execution of trace analyses.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
mergeReports
(FilePath mainReport, List<FilePath> reportFiles, Launcher launcher, TaskListener listener) Merges the analysis reports into the main report.runAnalysis
(List<FilePath> analysisFiles, boolean createReportDir, int timeout, Launcher launcher, TaskListener listener) Runs the trace analysis.
-
Constructor Details
-
TraceAnalysisRunner
public TraceAnalysisRunner()
-
-
Method Details
-
runAnalysis
public List<FilePath> runAnalysis(List<FilePath> analysisFiles, boolean createReportDir, int timeout, Launcher launcher, TaskListener listener) throws IOException, InterruptedException Runs the trace analysis.- Parameters:
analysisFiles
- the analysis filescreateReportDir
- specifies whether to create a new report directorytimeout
- the timeoutlauncher
- the launcherlistener
- the listener- Returns:
- the list of successfully generated analysis reports
- Throws:
IOException
- signals that an I/O exception has occurredInterruptedException
- the interrupted exception
-
mergeReports
public boolean mergeReports(FilePath mainReport, List<FilePath> reportFiles, Launcher launcher, TaskListener listener) throws IOException, InterruptedException Merges the analysis reports into the main report.- Parameters:
mainReport
- the main reportreportFiles
- the analysis report files to mergelauncher
- the launcherlistener
- the listener- Returns:
true
if merge was successful,false
otherwise- Throws:
IOException
- signals that an I/O exception has occurredInterruptedException
- the interrupted exception
-