|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.jacoco.model.CoverageObject<SELF>
hudson.plugins.jacoco.report.AbstractReport<PARENT,SELF>
public abstract class AbstractReport<PARENT extends AggregatedReport<?,PARENT,?>,SELF extends CoverageObject<SELF>>
Base class of the coverage report tree, which maintains the details of the coverage report.
| Field Summary |
|---|
| Fields inherited from class hudson.plugins.jacoco.model.CoverageObject |
|---|
branch, clazz, complexity, instruction, line, maxBranch, maxClazz, maxComplexity, maxCoveredBranch, maxCoveredClazz, maxCoveredComplexity, maxCoveredInstruction, maxCoveredLine, maxCoveredMethod, maxInstruction, maxLine, maxMethod, maxMissedBranch, maxMissedClazz, maxMissedComplexity, maxMissedInstruction, maxMissedLine, maxMissedMethod, method |
| Constructor Summary | |
|---|---|
AbstractReport()
|
|
| Method Summary | |
|---|---|
void |
addCoverage(CoverageElement cv)
|
hudson.model.AbstractBuild<?,?> |
getBuild()
Gets the build object that owns the whole coverage report tree. |
String |
getDisplayName()
|
String |
getName()
|
PARENT |
getParent()
Gets the back pointer to the parent coverage object. |
SELF |
getPreviousResult()
Gets the corresponding coverage report object in the previous run that has the record. |
void |
setName(String name)
|
protected void |
setParent(PARENT p)
Called at the last stage of the tree construction, to set the back pointer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractReport()
| Method Detail |
|---|
public void addCoverage(CoverageElement cv)
throws IOException
IOExceptionpublic String getName()
public void setName(String name)
public String getDisplayName()
getDisplayName in interface hudson.model.ModelObjectprotected void setParent(PARENT p)
public PARENT getParent()
getParent in class CoverageObject<SELF extends CoverageObject<SELF>>public SELF getPreviousResult()
CoverageObject
getPreviousResult in class CoverageObject<SELF extends CoverageObject<SELF>>public hudson.model.AbstractBuild<?,?> getBuild()
CoverageObject
getBuild in class CoverageObject<SELF extends CoverageObject<SELF>>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||