Class MethodItem

java.lang.Object
org.jacoco.report.internal.html.page.MethodItem
All Implemented Interfaces:
ILinkable, ITableItem

final class MethodItem extends Object implements ITableItem
Table items representing a method.
  • Field Details

  • Constructor Details

  • Method Details

    • 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
    • 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
    • getLink

      public String getLink(ReportOutputFolder base)
      Description copied from interface: ILinkable
      Returns a relative link to the item that works from the given base folder.
      Specified by:
      getLink in interface ILinkable
      Parameters:
      base - folder where the link should be inserted
      Returns:
      relative link or null if the target does not exist
    • getNode

      public ICoverageNode getNode()
      Description copied from interface: ITableItem
      Returns the corresponding node data.
      Specified by:
      getNode in interface ITableItem
      Returns:
      node data