Class CSVGroupHandler
java.lang.Object
org.jacoco.report.csv.CSVGroupHandler
- All Implemented Interfaces:
IReportGroupVisitor
Report visitor that handles coverage information for groups.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCSVGroupHandler(ClassRowWriter writer) privateCSVGroupHandler(ClassRowWriter writer, String groupName) -
Method Summary
Modifier and TypeMethodDescriptionprivate StringappendName(String name) voidvisitBundle(IBundleCoverage bundle, ISourceFileLocator locator) Called to add a bundle to the report.visitGroup(String name) Called to add a new group to the report.
-
Field Details
-
writer
-
groupName
-
-
Constructor Details
-
CSVGroupHandler
-
CSVGroupHandler
-
-
Method Details
-
visitBundle
Description copied from interface:IReportGroupVisitorCalled to add a bundle to the report.- Specified by:
visitBundlein interfaceIReportGroupVisitor- Parameters:
bundle- a bundle to include in the reportlocator- source locator for this bundle- Throws:
IOException- in case of IO problems with the report writer
-
visitGroup
Description copied from interface:IReportGroupVisitorCalled to add a new group to the report. The returnedIReportGroupVisitorinstance can be used to add nested bundles or groups. The content of the group has to be completed before this or any parent visitor can be used again ("deep first").- Specified by:
visitGroupin interfaceIReportGroupVisitor- Parameters:
name- name of the group- Returns:
- visitor for the group's content
- Throws:
IOException- in case of IO problems with the report writer
-
appendName
-