Package org.jacoco.report
Interface IReportVisitor
-
- All Superinterfaces:
IReportGroupVisitor
- All Known Implementing Classes:
MultiReportVisitor
public interface IReportVisitor extends IReportGroupVisitor
Interface for all implementations to retrieve structured report data. Unlike nestedIReportGroupVisitor
instances the root visitor accepts exactly one bundle or group.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
visitEnd()
Has to be called after all report data has been emitted.void
visitInfo(java.util.List<SessionInfo> sessionInfos, java.util.Collection<ExecutionData> executionData)
Initializes the report with global information.-
Methods inherited from interface org.jacoco.report.IReportGroupVisitor
visitBundle, visitGroup
-
-
-
-
Method Detail
-
visitInfo
void visitInfo(java.util.List<SessionInfo> sessionInfos, java.util.Collection<ExecutionData> executionData) throws java.io.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:
java.io.IOException
- in case of IO problems with the report writer
-
visitEnd
void visitEnd() throws java.io.IOException
Has to be called after all report data has been emitted.- Throws:
java.io.IOException
- in case of IO problems with the report writer
-
-