Interface IReportVisitor
- All Superinterfaces:
IReportGroupVisitor
- All Known Implementing Classes:
MultiReportVisitor
Interface for all implementations to retrieve structured report data. Unlike
nested
IReportGroupVisitor instances the root visitor accepts exactly
one bundle or group.-
Method Summary
Modifier and TypeMethodDescriptionvoidvisitEnd()Has to be called after all report data has been emitted.voidvisitInfo(List<SessionInfo> sessionInfos, Collection<ExecutionData> executionData) Initializes the report with global information.Methods inherited from interface IReportGroupVisitor
visitBundle, visitGroup
-
Method Details
-
visitInfo
void visitInfo(List<SessionInfo> sessionInfos, Collection<ExecutionData> executionData) throws IOException Initializes the report with global information. This method has to be called before any other method can be called.- Parameters:
sessionInfos- list of chronological orderedSessionInfoobjects where execution data has been collected for this report.executionData- collection of allExecutionDataobjects that are considered for this report- Throws:
IOException- in case of IO problems with the report writer
-
visitEnd
Has to be called after all report data has been emitted.- Throws:
IOException- in case of IO problems with the report writer
-