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 nestedIReportGroupVisitorinstances the root visitor accepts exactly one bundle or group.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidvisitEnd()Has to be called after all report data has been emitted.voidvisitInfo(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 orderedSessionInfoobjects where execution data has been collected for this report.executionData- collection of allExecutionDataobjects 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.IOExceptionHas to be called after all report data has been emitted.- Throws:
java.io.IOException- in case of IO problems with the report writer
-
-