Class SourceFileItem
- java.lang.Object
-
- org.jacoco.report.internal.html.page.SourceFileItem
-
- All Implemented Interfaces:
ILinkable,ITableItem
final class SourceFileItem extends java.lang.Object implements ITableItem
Table items representing a source file which cannot be linked.
-
-
Field Summary
Fields Modifier and Type Field Description private ICoverageNodenode
-
Constructor Summary
Constructors Constructor Description SourceFileItem(ISourceFileCoverage node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetLink(ReportOutputFolder base)Returns a relative link to the item that works from the given base folder.java.lang.StringgetLinkLabel()Returns the display label used for the link.java.lang.StringgetLinkStyle()Optional style class to be associated with the link.ICoverageNodegetNode()Returns the corresponding node data.
-
-
-
Field Detail
-
node
private final ICoverageNode node
-
-
Constructor Detail
-
SourceFileItem
SourceFileItem(ISourceFileCoverage node)
-
-
Method Detail
-
getLinkLabel
public java.lang.String getLinkLabel()
Description copied from interface:ILinkableReturns the display label used for the link.- Specified by:
getLinkLabelin interfaceILinkable- Returns:
- display label
-
getLinkStyle
public java.lang.String getLinkStyle()
Description copied from interface:ILinkableOptional style class to be associated with the link.- Specified by:
getLinkStylein interfaceILinkable- Returns:
- link style class or
null
-
getLink
public java.lang.String getLink(ReportOutputFolder base)
Description copied from interface:ILinkableReturns a relative link to the item that works from the given base folder.
-
getNode
public ICoverageNode getNode()
Description copied from interface:ITableItemReturns the corresponding node data.- Specified by:
getNodein interfaceITableItem- Returns:
- node data
-
-