Package org.jacoco.report.internal.html
Interface ILinkable
-
- All Known Subinterfaces:
ITableItem
- All Known Implementing Classes:
BundlePage,ClassPage,GroupPage,NodePage,PackagePage,PackageSourcePage,ReportPage,SessionsPage,SourceFilePage,TablePage
public interface ILinkableAbstraction 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.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.
-
-
-
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
nullif 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
-
-