Package org.jacoco.report
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 TypeMethodDescriptionvoid
visitEnd()
Has to be called after all report data has been emitted.void
visitInfo
(List<SessionInfo> sessionInfos, Collection<ExecutionData> executionData) Initializes the report with global information.Methods inherited from interface org.jacoco.report.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 orderedSessionInfo
objects where execution data has been collected for this report.executionData
- collection of allExecutionData
objects 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
-