Class TraceAnalysisRunner


  • public class TraceAnalysisRunner
    extends Object
    Class providing the execution of trace analyses.
    • Constructor Detail

      • TraceAnalysisRunner

        public TraceAnalysisRunner()
    • 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 files
        createReportDir - specifies whether to create a new report directory
        timeout - the timeout
        launcher - the launcher
        listener - the listener
        Returns:
        the list of successfully generated analysis reports
        Throws:
        IOException - signals that an I/O exception has occurred
        InterruptedException - 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 report
        reportFiles - the analysis report files to merge
        launcher - the launcher
        listener - the listener
        Returns:
        true if merge was successful, false otherwise
        Throws:
        IOException - signals that an I/O exception has occurred
        InterruptedException - the interrupted exception