org.jacoco.report.internal.html.page
Class ClassPage
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.IClassCoverage>
org.jacoco.report.internal.html.page.ClassPage
- All Implemented Interfaces:
- ILinkable, ITableItem
public class ClassPage
- extends TablePage<org.jacoco.core.analysis.IClassCoverage>
Page showing coverage information for a class as a table of methods. The
methods are linked to the corresponding source file.
|
Method Summary |
protected String |
getFileName()
Specifies the local file name of this page. |
String |
getLinkLabel()
Returns the display label used for the link. |
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 |
ClassPage
public ClassPage(org.jacoco.core.analysis.IClassCoverage classNode,
ReportPage parent,
ILinkable sourcePage,
ReportOutputFolder folder,
IHTMLReportContext context)
- Creates a new visitor in the given context.
- Parameters:
classNode - coverage data for this classparent - optional hierarchical parentsourcePage - corresponding source page or nullfolder - base folder to create this page incontext - settings context
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
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
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
getLinkLabel
public String getLinkLabel()
- Description copied from interface:
ILinkable
- Returns the display label used for the link.
- Specified by:
getLinkLabel in interface ILinkable- Overrides:
getLinkLabel in class NodePage<org.jacoco.core.analysis.IClassCoverage>
- Returns:
- display label
Copyright © 2009-2013 Mountainminds GmbH & Co. KG. All Rights Reserved.