Class SourceFileItem
java.lang.Object
org.jacoco.report.internal.html.page.SourceFileItem
- All Implemented Interfaces:
ILinkable
,ITableItem
Table items representing a source file which cannot be linked.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLink
(ReportOutputFolder base) Returns a relative link to the item that works from the given base folder.Returns the display label used for the link.Optional style class to be associated with the link.getNode()
Returns the corresponding node data.
-
Field Details
-
node
-
-
Constructor Details
-
SourceFileItem
SourceFileItem(ISourceFileCoverage node)
-
-
Method Details
-
getLinkLabel
Description copied from interface:ILinkable
Returns the display label used for the link.- Specified by:
getLinkLabel
in interfaceILinkable
- Returns:
- display label
-
getLinkStyle
Description copied from interface:ILinkable
Optional style class to be associated with the link.- Specified by:
getLinkStyle
in interfaceILinkable
- Returns:
- link style class or
null
-
getLink
Description copied from interface:ILinkable
Returns a relative link to the item that works from the given base folder. -
getNode
Description copied from interface:ITableItem
Returns the corresponding node data.- Specified by:
getNode
in interfaceITableItem
- Returns:
- node data
-