org.jacoco.report.html
Class CoverageTable
java.lang.Object
org.jacoco.report.html.CoverageTable
public class CoverageTable
- extends Object
Renderer for a table of ICoverageTableItem
s.
- Version:
- $Revision: $
- Author:
- Marc R. Hoffmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoverageTable
public CoverageTable(List<? extends ICoverageTableColumn> columns,
Comparator<ICoverageNode> comparator)
- Create a new table with the given columns.
- Parameters:
columns
- columns for this tablecomparator
- comparator for sorting the table items
render
public void render(HTMLElement parent,
Collection<? extends ICoverageTableItem> items,
ICoverageNode total,
Resources resources,
ReportOutputFolder base)
throws IOException
- Renders a table for the given icon
- Parameters:
parent
- parent element in which the table is createditems
- items that will make the table rowstotal
- the summary of all coverage data items in the table static
resources that might be referencedresources
- static resources that might be referencedbase
- base folder of the table
- Throws:
IOException
- in case of IO problems with the element output