Package hudson.plugins.jacoco.report
Class PackageReport
- java.lang.Object
-
- hudson.plugins.jacoco.model.CoverageObject<SELF>
-
- hudson.plugins.jacoco.report.AbstractReport<PARENT,SELF>
-
- hudson.plugins.jacoco.report.AggregatedReport<CoverageReport,PackageReport,ClassReport>
-
- hudson.plugins.jacoco.report.PackageReport
-
- All Implemented Interfaces:
ModelObject
public final class PackageReport extends AggregatedReport<CoverageReport,PackageReport,ClassReport>
- Author:
- Kohsuke Kawaguchi, David Carver
-
-
Field Summary
-
Fields inherited from class hudson.plugins.jacoco.model.CoverageObject
branch, clazz, complexity, instruction, line, maxBranch, maxClazz, maxComplexity, maxInstruction, maxLine, maxMethod, method
-
-
Constructor Summary
Constructors Constructor Description PackageReport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(ClassReport child)
String
getName()
Give the default no-name package a non-empty name.void
setName(String name)
-
Methods inherited from class hudson.plugins.jacoco.report.AggregatedReport
getChildren, getDynamic, hasChildren, hasChildrenClassCoverage, hasChildrenLineCoverage, setFailed, setParent
-
Methods inherited from class hudson.plugins.jacoco.report.AbstractReport
addCoverage, getBuild, getDisplayName, getParent, getPreviousResult, sanitizeName
-
Methods inherited from class hudson.plugins.jacoco.model.CoverageObject
doGraph, getApi, getBranchCoverage, getClassCoverage, getComplexityScore, getInstructionCoverage, getLineCoverage, getMaxBranch, getMaxClazz, getMaxComplexity, getMaxInstruction, getMaxLine, getMaxMethod, getMethodCoverage, hasClassCoverage, hasLineCoverage, isFailed, printFourCoverageColumns, printRatioCell, printRatioTable, setAllCovTypes, setCoverage, setMaxBranch, setMaxClazz, setMaxComplexity, setMaxInstruction, setMaxLine, setMaxMethod, toString
-
-
-
-
Method Detail
-
getName
public String getName()
Give the default no-name package a non-empty name.- Overrides:
getName
in classAbstractReport<CoverageReport,PackageReport>
-
setName
public void setName(String name)
- Overrides:
setName
in classAbstractReport<CoverageReport,PackageReport>
-
add
public void add(ClassReport child)
- Overrides:
add
in classAggregatedReport<CoverageReport,PackageReport,ClassReport>
-
-