Class AggregatedReport<PARENT extends AggregatedReport<?,PARENT,?>,SELF extends AggregatedReport<PARENT,SELF,CHILD>,CHILD extends AbstractReport<SELF,CHILD>>
- java.lang.Object
-
- com.vectorcast.plugins.vectorcastcoverage.CoverageObject<SELF>
-
- com.vectorcast.plugins.vectorcastcoverage.AbstractReport<PARENT,SELF>
-
- com.vectorcast.plugins.vectorcastcoverage.AggregatedReport<PARENT,SELF,CHILD>
-
- All Implemented Interfaces:
ModelObject
- Direct Known Subclasses:
CoverageReport,EnvironmentReport,SubprogramReport,UnitReport
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
-
-
Constructor Summary
Constructors Constructor Description AggregatedReport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(CHILD child)Map<String,CHILD>getChildren()CHILDgetDynamic(String token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)booleanhasChildren()booleanhasChildrenBasisPathCoverage()booleanhasChildrenBranchCoverage()booleanhasChildrenFunctionCallCoverage()booleanhasChildrenFunctionCoverage()booleanhasChildrenMCDCCoverage()booleanhasChildrenStatementCoverage()voidsetFailed()Marks this coverage object as failed.protected voidsetParent(PARENT p)Called at the last stage of the tree construction, to set the back pointer.-
Methods inherited from class com.vectorcast.plugins.vectorcastcoverage.AbstractReport
addCombinedCoverage, addCoverage, getBuild, getDisplayName, getName, getParent, getPreviousResult, setName
-
Methods inherited from class com.vectorcast.plugins.vectorcastcoverage.CoverageObject
doGraph, getApi, getBasisPathCoverage, getBranchCoverage, getComplexity, getFunctionCallCoverage, getFunctionCoverage, getMaxHistory, getMaxHistoryFreestyleJob, getMaxHistoryPipelineJob, getMCDCCoverage, getStatementCoverage, hasBasisPathCoverage, hasBranchCoverage, hasComplexity, hasCoverage, hasFunctionCallCoverage, hasFunctionCoverage, hasMCDCCoverage, hasStatementCoverage, isFailed, printFourCoverageColumns, printRatioCell, printRatioTable
-
-
-
-
Method Detail
-
add
public void add(CHILD child)
-
setParent
protected void setParent(PARENT p)
Description copied from class:AbstractReportCalled at the last stage of the tree construction, to set the back pointer.- Overrides:
setParentin classAbstractReport<PARENT extends AggregatedReport<?,PARENT,?>,SELF extends AggregatedReport<PARENT,SELF,CHILD>>- Parameters:
p- parent
-
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:CoverageObjectMarks this coverage object as failed.- Overrides:
setFailedin classCoverageObject<SELF extends AggregatedReport<PARENT,SELF,CHILD>>- See Also:
Rule
-
hasChildren
public boolean hasChildren()
-
hasChildrenStatementCoverage
public boolean hasChildrenStatementCoverage()
-
hasChildrenBranchCoverage
public boolean hasChildrenBranchCoverage()
-
hasChildrenBasisPathCoverage
public boolean hasChildrenBasisPathCoverage()
-
hasChildrenMCDCCoverage
public boolean hasChildrenMCDCCoverage()
-
hasChildrenFunctionCoverage
public boolean hasChildrenFunctionCoverage()
-
hasChildrenFunctionCallCoverage
public boolean hasChildrenFunctionCallCoverage()
-
-