|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.emma.CoverageObject<SELF>
hudson.plugins.emma.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.
| 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 hudson.plugins.emma.CoverageObject |
|---|
doGraph, getApi, getBlockCoverage, getClassCoverage, getConditionCoverage, getLineCoverage, getMethodCoverage, hasClassCoverage, hasConditionCoverage, hasLineCoverage, isFailed, printFourCoverageColumns, printRatioCell, printRatioTable, setFailed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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()
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 | |||||||||