hudson.plugins.jacoco.report
Class AggregatedReport<PARENT extends AggregatedReport<?,PARENT,?>,SELF extends AggregatedReport<PARENT,SELF,CHILD>,CHILD extends AbstractReport<SELF,CHILD>>
java.lang.Object
hudson.plugins.jacoco.model.CoverageObject<SELF>
hudson.plugins.jacoco.report.AbstractReport<PARENT,SELF>
hudson.plugins.jacoco.report.AggregatedReport<PARENT,SELF,CHILD>
- All Implemented Interfaces:
- hudson.model.ModelObject
- Direct Known Subclasses:
- ClassReport, CoverageReport, MethodReport, PackageReport
public abstract class AggregatedReport<PARENT extends AggregatedReport<?,PARENT,?>,SELF extends AggregatedReport<PARENT,SELF,CHILD>,CHILD extends AbstractReport<SELF,CHILD>>
- extends AbstractReport<PARENT,SELF>
Reports that have children.
- Author:
- Kohsuke Kawaguchi
| Fields inherited from class hudson.plugins.jacoco.model.CoverageObject |
branch, clazz, complexity, instruction, line, maxBranch, maxClazz, maxComplexity, maxInstruction, maxLine, maxMethod, method |
| 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 |
AggregatedReport
public AggregatedReport()
add
public void add(CHILD child)
getChildren
public Map<String,CHILD> getChildren()
setParent
protected void setParent(PARENT p)
- Description copied from class:
AbstractReport
- Called at the last stage of the tree construction,
to set the back pointer.
- Overrides:
setParent in class AbstractReport<PARENT extends AggregatedReport<?,PARENT,?>,SELF extends AggregatedReport<PARENT,SELF,CHILD>>
getDynamic
public CHILD getDynamic(String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException
- Throws:
IOException
setFailed
public void setFailed()
- Description copied from class:
CoverageObject
- Marks this coverage object as failed.
- Overrides:
setFailed in class CoverageObject<SELF extends AggregatedReport<PARENT,SELF,CHILD>>
- See Also:
Rule
hasChildren
public boolean hasChildren()
hasChildrenLineCoverage
public boolean hasChildrenLineCoverage()
hasChildrenClassCoverage
public boolean hasChildrenClassCoverage()
Copyright © 2004-2014 Hudson. All Rights Reserved.