Class TraceAnalysisRunner
- java.lang.Object
-
- de.tracetronic.jenkins.plugins.ecutest.report.ta.TraceAnalysisRunner
-
public class TraceAnalysisRunner extends Object
Class providing the execution of trace analyses.
-
-
Constructor Summary
Constructors Constructor Description TraceAnalysisRunner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
mergeReports(FilePath mainReport, List<FilePath> reportFiles, Launcher launcher, TaskListener listener)
Merges the analysis reports into the main report.List<FilePath>
runAnalysis(List<FilePath> analysisFiles, boolean createReportDir, int timeout, Launcher launcher, TaskListener listener)
Runs the trace analysis.
-
-
-
Method Detail
-
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
-
-