Class SessionsPage
java.lang.Object
org.jacoco.report.internal.html.page.ReportPage
org.jacoco.report.internal.html.page.SessionsPage
- All Implemented Interfaces:
ILinkable
Page to display information about sessions covered by this report.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DateFormatprivate final List<ExecutionData> private final ElementIndexprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate final List<SessionInfo> Fields inherited from class ReportPage
context, folder -
Constructor Summary
ConstructorsConstructorDescriptionSessionsPage(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
Modifier and TypeMethodDescriptionprotected voidcontent(HTMLElement body) Creates the actual content of the page.private voidprotected StringSpecifies the local file name of this page.Returns the display label used for the link.Optional style class to be associated with the link.private voidsessionTable(HTMLElement body) Methods inherited from class ReportPage
getLink, getOnload, head, infoLinks, isRootPage, render
-
Field Details
-
MSG_SESSIONS
- See Also:
-
MSG_NO_SESSIONS
- See Also:
-
MSG_EXECDATA
- See Also:
-
MSG_NO_EXECDATA
- See Also:
-
sessionInfos
-
dateFormat
-
executionData
-
index
-
-
Constructor Details
-
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- session info objectsexecutionData- execution data objectsindex- index for cross-linkingparent- optional hierarchical parentfolder- base folder to create this page incontext- settings context
-
-
Method Details
-
content
Description copied from class:ReportPageCreates the actual content of the page.- Specified by:
contentin classReportPage- Parameters:
body- body tag of the page- Throws:
IOException- in case of IO problems with the report writer
-
sessionTable
- Throws:
IOException
-
executionDataTable
- Throws:
IOException
-
getFileName
Description copied from class:ReportPageSpecifies the local file name of this page.- Specified by:
getFileNamein classReportPage- Returns:
- local file name
-
getLinkStyle
-
getLinkLabel
-