org.jacoco.report.html
Class NodePage
java.lang.Object
org.jacoco.report.html.ReportPage
org.jacoco.report.html.NodePage
- All Implemented Interfaces:
- ILinkable, ITableItem, IReportVisitor
- Direct Known Subclasses:
- ClassPage, GroupPage, PackagePage, SourceFilePage
public abstract class NodePage
- extends ReportPage
- implements IReportVisitor, ITableItem
Report page that represents a coverage node.
- Version:
- 0.4.1.20101007204400
- Author:
- Marc R. Hoffmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodePage
protected NodePage(ICoverageNode node,
ReportPage parent,
ReportOutputFolder folder,
IHTMLReportContext context)
- Creates a new node page.
- Parameters:
node
- corresponding nodeparent
- optional hierarchical parentfolder
- base folder to create this report incontext
- settings context
getLinkStyle
public String getLinkStyle()
- Description copied from interface:
ILinkable
- Optional style class to be associated with the link.
- Specified by:
getLinkStyle
in interface ILinkable
- Returns:
- link style class or
null
visitEnd
public void visitEnd(ISourceFileLocator sourceFileLocator)
throws IOException
- Description copied from interface:
IReportVisitor
- Called at the very end, when all child node have been processed and the
counters for this node are properly populated.
- Specified by:
visitEnd
in interface IReportVisitor
- Parameters:
sourceFileLocator
- source file locator valid for this node
- Throws:
IOException
- in case of IO problems with the report writer
getLinkLabel
public String getLinkLabel()
- Description copied from interface:
ILinkable
- Returns the display label used for the link.
- Specified by:
getLinkLabel
in interface ILinkable
- Returns:
- display label
getNode
public ICoverageNode getNode()
- Description copied from interface:
ITableItem
- Returns the corresponding node data.
- Specified by:
getNode
in interface ITableItem
- Returns:
- node data