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 void
add(CHILD child)
Map<String,CHILD>
getChildren()
CHILD
getDynamic(String token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
boolean
hasChildren()
boolean
hasChildrenBasisPathCoverage()
boolean
hasChildrenBranchCoverage()
boolean
hasChildrenFunctionCallCoverage()
boolean
hasChildrenFunctionCoverage()
boolean
hasChildrenMCDCCoverage()
boolean
hasChildrenStatementCoverage()
void
setFailed()
Marks this coverage object as failed.protected void
setParent(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:AbstractReport
Called at the last stage of the tree construction, to set the back pointer.- Overrides:
setParent
in 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:CoverageObject
Marks this coverage object as failed.- Overrides:
setFailed
in 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()
-
-