Class MethodItem
java.lang.Object
org.jacoco.report.internal.html.page.MethodItem
- All Implemented Interfaces:
ILinkable, ITableItem
Table items representing a method.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final IMethodCoverageprivate final ILinkable -
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
-
label
-
sourcePage
-
-
Constructor Details
-
MethodItem
MethodItem(IMethodCoverage node, String label, ILinkable sourcePage)
-
-
Method Details
-
getLinkLabel
Description copied from interface:ILinkableReturns the display label used for the link.- Specified by:
getLinkLabelin interfaceILinkable- Returns:
- display label
-
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
Description copied from interface:ILinkableReturns a relative link to the item that works from the given base folder. -
getNode
Description copied from interface:ITableItemReturns the corresponding node data.- Specified by:
getNodein interfaceITableItem- Returns:
- node data
-