|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jacoco.report.internal.html.page.ReportPage
org.jacoco.report.internal.html.page.NodePage<NodeType>
org.jacoco.report.internal.html.page.TablePage<org.jacoco.core.analysis.IPackageCoverage>
org.jacoco.report.internal.html.page.PackageSourcePage
public class PackageSourcePage
Page showing coverage information for a Java package. The page contains a table with all classes of the package.
| Field Summary |
|---|
| Fields inherited from class org.jacoco.report.internal.html.page.ReportPage |
|---|
context, folder |
| Constructor Summary | |
|---|---|
PackageSourcePage(org.jacoco.core.analysis.IPackageCoverage node,
ReportPage parent,
ISourceFileLocator locator,
ReportOutputFolder folder,
IHTMLReportContext context,
ILinkable packagePage)
Creates a new visitor in the given context. |
|
| Method Summary | |
|---|---|
protected String |
getFileName()
Specifies the local file name of this page. |
String |
getLinkLabel()
Returns the display label used for the link. |
protected String |
getOnload()
Returns the onload handler for this page. |
protected void |
infoLinks(HTMLElement span)
Inserts additional links on the top right corner. |
void |
render()
Renders this page's content and optionally additional pages. |
| Methods inherited from class org.jacoco.report.internal.html.page.TablePage |
|---|
addItem, content, head |
| Methods inherited from class org.jacoco.report.internal.html.page.NodePage |
|---|
getLinkStyle, getNode |
| Methods inherited from class org.jacoco.report.internal.html.page.ReportPage |
|---|
getLink, isRootPage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jacoco.report.internal.html.ILinkable |
|---|
getLink |
| Constructor Detail |
|---|
public PackageSourcePage(org.jacoco.core.analysis.IPackageCoverage node,
ReportPage parent,
ISourceFileLocator locator,
ReportOutputFolder folder,
IHTMLReportContext context,
ILinkable packagePage)
node - coverage data for this packageparent - optional hierarchical parentlocator - source locatorfolder - base folder to create this page incontext - settings contextpackagePage - page listing the classes of this package| Method Detail |
|---|
public void render()
throws IOException
ReportPage
render in class ReportPageIOException - if the page can't be writtenprotected String getOnload()
ReportPage
getOnload in class ReportPagenullprotected String getFileName()
ReportPage
getFileName in class ReportPagepublic String getLinkLabel()
ILinkable
getLinkLabel in interface ILinkablegetLinkLabel in class NodePage<org.jacoco.core.analysis.IPackageCoverage>
protected void infoLinks(HTMLElement span)
throws IOException
ReportPage
infoLinks in class ReportPagespan - parent element
IOException - in case of IO problems with the report writer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||