org.jacoco.report.internal.html.page
Class BundlePage
java.lang.Object
org.jacoco.report.internal.html.page.ReportPage
org.jacoco.report.internal.html.page.NodePage<NodeType>
org.jacoco.report.internal.html.page.TablePage<org.jacoco.core.analysis.ICoverageNode>
org.jacoco.report.internal.html.page.BundlePage
- All Implemented Interfaces:
- ILinkable, ITableItem
public class BundlePage
- extends TablePage<org.jacoco.core.analysis.ICoverageNode>
Page showing coverage information for a bundle. The page contains a table
with all packages of the bundle.
|
Method Summary |
protected void |
content(HTMLElement body)
Creates the actual content of the page. |
protected String |
getFileName()
Specifies the local file name of this page. |
protected String |
getOnload()
Returns the onload handler for this page. |
void |
render()
Renders this page's content and optionally additional pages. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jacoco.report.internal.html.ILinkable |
getLink |
BundlePage
public BundlePage(org.jacoco.core.analysis.IBundleCoverage bundle,
ReportPage parent,
ISourceFileLocator locator,
ReportOutputFolder folder,
IHTMLReportContext context)
- Creates a new visitor in the given context.
- Parameters:
bundle - coverage date for the bundleparent - optional hierarchical parentlocator - source locatorfolder - base folder for this bundlecontext - settings context
render
public void render()
throws IOException
- Description copied from class:
ReportPage
- Renders this page's content and optionally additional pages. This method
must be called at most once.
- Overrides:
render in class ReportPage
- Throws:
IOException - if the page can't be written
getOnload
protected String getOnload()
- Description copied from class:
ReportPage
- Returns the onload handler for this page.
- Overrides:
getOnload in class ReportPage
- Returns:
- handler or
null
getFileName
protected String getFileName()
- Description copied from class:
ReportPage
- Specifies the local file name of this page.
- Specified by:
getFileName in class ReportPage
- Returns:
- local file name
content
protected void content(HTMLElement body)
throws IOException
- Description copied from class:
ReportPage
- Creates the actual content of the page.
- Overrides:
content in class TablePage<org.jacoco.core.analysis.ICoverageNode>
- Parameters:
body - body tag of the page
- Throws:
IOException - in case of IO problems with the report writer
Copyright © 2009–2025 Mountainminds GmbH & Co. KG. All rights reserved.