Class NodePage<NodeType extends ICoverageNode>

java.lang.Object
org.jacoco.report.internal.html.page.ReportPage
org.jacoco.report.internal.html.page.NodePage<NodeType>
Type Parameters:
NodeType - type of the node represented by this page
All Implemented Interfaces:
ILinkable, ITableItem
Direct Known Subclasses:
SourceFilePage, TablePage

public abstract class NodePage<NodeType extends ICoverageNode> extends ReportPage implements ITableItem
Report page that represents a coverage node.
  • Field Details

  • Constructor Details

    • NodePage

      protected NodePage(NodeType node, ReportPage parent, ReportOutputFolder folder, IHTMLReportContext context)
      Creates a new node page.
      Parameters:
      node - corresponding node
      parent - optional hierarchical parent
      folder - base folder to create this page in
      context - settings context
  • Method Details

    • 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
    • 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 NodeType getNode()
      Description copied from interface: ITableItem
      Returns the corresponding node data.
      Specified by:
      getNode in interface ITableItem
      Returns:
      node data