org.jacoco.report.html
Class SessionsPage

java.lang.Object
  extended by org.jacoco.report.html.ReportPage
      extended by org.jacoco.report.html.SessionsPage
All Implemented Interfaces:
ILinkable

public class SessionsPage
extends ReportPage

Page to display information about sessions covered by this report.

Version:
0.4.1.20101007204400
Author:
Marc R. Hoffmann

Field Summary
 
Fields inherited from class org.jacoco.report.html.ReportPage
context, folder
 
Constructor Summary
SessionsPage(List<SessionInfo> sessionInfos, Collection<ExecutionData> executionData, ElementIndex index, ReportPage parent, ReportOutputFolder folder, IHTMLReportContext context)
          Creates a new page page to display session information.
 
Method Summary
protected  void content(HTMLElement body)
          Creates the actual content of the page.
protected  String getFileName()
          Specifies the local file name of this page.
 String getLinkLabel()
          Returns the display label used for the link.
 String getLinkStyle()
          Optional style class to be associated with the link.
 
Methods inherited from class org.jacoco.report.html.ReportPage
getLink, getOnload, headExtra, renderDocument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionsPage

public SessionsPage(List<SessionInfo> sessionInfos,
                    Collection<ExecutionData> executionData,
                    ElementIndex index,
                    ReportPage parent,
                    ReportOutputFolder folder,
                    IHTMLReportContext context)
Creates a new page page to display session information.

Parameters:
sessionInfos -
executionData -
index -
parent -
folder -
context -
Method Detail

content

protected void content(HTMLElement body)
                throws IOException
Description copied from class: ReportPage
Creates the actual content of the page.

Specified by:
content in class ReportPage
Parameters:
body - body tag of the page
Throws:
IOException - in case of IO problems with the report writer

getFileName

protected String getFileName()
Description copied from class: ReportPage
Specifies the local file name of this page.

Specified by:
getFileName in class ReportPage
Returns:
local file name

getLinkStyle

public String getLinkStyle()
Description copied from interface: ILinkable
Optional style class to be associated with the link.

Returns:
link style class or null

getLinkLabel

public String getLinkLabel()
Description copied from interface: ILinkable
Returns the display label used for the link.

Returns:
display label