Class MultiReportVisitor

    • Constructor Detail

      • MultiReportVisitor

        public MultiReportVisitor​(java.util.List<IReportVisitor> visitors)
        New visitor delegating to all given visitors.
        Parameters:
        visitors - visitors to delegate to
    • Method Detail

      • visitInfo

        public void visitInfo​(java.util.List<SessionInfo> sessionInfos,
                              java.util.Collection<ExecutionData> executionData)
                       throws java.io.IOException
        Description copied from interface: IReportVisitor
        Initializes the report with global information. This method has to be called before any other method can be called.
        Specified by:
        visitInfo in interface IReportVisitor
        Parameters:
        sessionInfos - list of chronological ordered SessionInfo objects where execution data has been collected for this report.
        executionData - collection of all ExecutionData objects that are considered for this report
        Throws:
        java.io.IOException - in case of IO problems with the report writer
      • visitEnd

        public void visitEnd()
                      throws java.io.IOException
        Description copied from interface: IReportVisitor
        Has to be called after all report data has been emitted.
        Specified by:
        visitEnd in interface IReportVisitor
        Throws:
        java.io.IOException - in case of IO problems with the report writer