|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jacoco.report.internal.AbstractGroupVisitor
org.jacoco.report.internal.html.HTMLGroupVisitor
public class HTMLGroupVisitor
Group visitor for HTML reports.
| Field Summary |
|---|
| Fields inherited from class org.jacoco.report.internal.AbstractGroupVisitor |
|---|
total |
| Constructor Summary | |
|---|---|
HTMLGroupVisitor(ReportPage parent,
ReportOutputFolder folder,
IHTMLReportContext context,
String name)
Create a new group handler. |
|
| Method Summary | |
|---|---|
NodePage<org.jacoco.core.analysis.ICoverageNode> |
getPage()
Returns the page rendered for this group. |
protected void |
handleBundle(org.jacoco.core.analysis.IBundleCoverage bundle,
ISourceFileLocator locator)
Called to handle the given bundle in a specific way. |
protected void |
handleEnd()
Called to handle the end of this group in a specific way. |
protected AbstractGroupVisitor |
handleGroup(String name)
Called to handle a group with the given name in a specific way. |
| Methods inherited from class org.jacoco.report.internal.AbstractGroupVisitor |
|---|
visitBundle, visitEnd, visitGroup |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HTMLGroupVisitor(ReportPage parent,
ReportOutputFolder folder,
IHTMLReportContext context,
String name)
parent - optional hierarchical parentfolder - base folder for this groupcontext - settings contextname - group name| Method Detail |
|---|
public NodePage<org.jacoco.core.analysis.ICoverageNode> getPage()
protected void handleBundle(org.jacoco.core.analysis.IBundleCoverage bundle,
ISourceFileLocator locator)
throws IOException
AbstractGroupVisitor
handleBundle in class AbstractGroupVisitorbundle - analyzed bundlelocator - source locator
IOException - if the report can't be written
protected AbstractGroupVisitor handleGroup(String name)
throws IOException
AbstractGroupVisitor
handleGroup in class AbstractGroupVisitorname - name of the group
IOException - if the report can't be written
protected void handleEnd()
throws IOException
AbstractGroupVisitor
handleEnd in class AbstractGroupVisitorIOException - if the report can't be written
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||