Package org.jacoco.report.internal.html
Interface ILinkable
-
- All Known Subinterfaces:
ITableItem
- All Known Implementing Classes:
BundlePage
,ClassPage
,GroupPage
,MethodItem
,NodePage
,PackagePage
,PackageSourcePage
,ReportPage
,SessionsPage
,SourceFileItem
,SourceFilePage
,TablePage
public interface ILinkable
Abstraction for items that can be linked to in a report.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getLink(ReportOutputFolder base)
Returns a relative link to the item that works from the given base folder.java.lang.String
getLinkLabel()
Returns the display label used for the link.java.lang.String
getLinkStyle()
Optional style class to be associated with the link.
-
-
-
Method Detail
-
getLink
java.lang.String getLink(ReportOutputFolder base)
Returns a relative link to the item that works from the given base folder.- Parameters:
base
- folder where the link should be inserted- Returns:
- relative link or
null
if the target does not exist
-
getLinkLabel
java.lang.String getLinkLabel()
Returns the display label used for the link.- Returns:
- display label
-
getLinkStyle
java.lang.String getLinkStyle()
Optional style class to be associated with the link.- Returns:
- link style class or
null
-
-