|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jacoco.report.html.ReportPage
org.jacoco.report.html.ClassPage
public class ClassPage
Page showing coverage information for a class as a table of methods. The methods are linked to the corresponding source file.
Field Summary |
---|
Fields inherited from class org.jacoco.report.html.ReportPage |
---|
context, outputFolder |
Fields inherited from interface org.jacoco.report.IReportVisitor |
---|
NOP |
Constructor Summary | |
---|---|
ClassPage(ClassCoverage classNode,
ReportPage parent,
Map<String,SourceFilePage> sourceFiles,
ReportOutputFolder outputFolder,
IHTMLReportContext context)
Creates a new visitor in the given context. |
Method Summary | |
---|---|
protected void |
content(HTMLElement body,
ISourceFileLocator sourceFileLocator)
Creates the actual content of the page. |
protected String |
getFileName()
Specifies the local file name of this page. |
protected ReportOutputFolder |
getFolder(ReportOutputFolder base)
Creates the output folder relative to the given base for this report page. |
String |
getLabel()
Returns the display name of the item. |
IReportVisitor |
visitChild(ICoverageNode node)
Called for every direct child. |
Methods inherited from class org.jacoco.report.html.ReportPage |
---|
body, footer, getLink, getNode, head, visitEnd |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassPage(ClassCoverage classNode, ReportPage parent, Map<String,SourceFilePage> sourceFiles, ReportOutputFolder outputFolder, IHTMLReportContext context)
classNode
- parent
- sourceFiles
- outputFolder
- context
- Method Detail |
---|
public IReportVisitor visitChild(ICoverageNode node)
IReportVisitor
node
- Node for the child in the implementation class specific to
this type. The counters are may yet be populated.
protected void content(HTMLElement body, ISourceFileLocator sourceFileLocator) throws IOException
ReportPage
content
in class ReportPage
body
- body tag of the pagesourceFileLocator
- locator for source file content in this context
IOException
- in case of IO problems with the report writerprotected String getFileName()
ReportPage
getFileName
in class ReportPage
public String getLabel()
ICoverageTableItem
getLabel
in interface ICoverageTableItem
getLabel
in class ReportPage
protected ReportOutputFolder getFolder(ReportOutputFolder base)
ReportPage
getFolder
in class ReportPage
base
- base folder
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |