hudson.plugins.emma
Class CoverageReport
java.lang.Object
hudson.plugins.emma.CoverageObject<SELF>
hudson.plugins.emma.AbstractReport<PARENT,SELF>
hudson.plugins.emma.AggregatedReport<CoverageReport,CoverageReport,PackageReport>
hudson.plugins.emma.CoverageReport
- All Implemented Interfaces:
- hudson.model.ModelObject
public final class CoverageReport
- extends AggregatedReport<CoverageReport,CoverageReport,PackageReport>
Root object of the coverage report.
- Author:
- Kohsuke Kawaguchi
|
Method Summary |
hudson.model.AbstractBuild<?,?> |
getBuild()
Gets the build object that owns the whole coverage report tree. |
CoverageReport |
getPreviousResult()
Gets the corresponding coverage report object in the previous
run that has the record. |
| Methods inherited from class hudson.plugins.emma.CoverageObject |
doGraph, getApi, getBlockCoverage, getClassCoverage, getConditionCoverage, getLineCoverage, getMethodCoverage, hasClassCoverage, hasConditionCoverage, hasLineCoverage, isFailed, printFourCoverageColumns, printRatioCell, printRatioTable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoverageReport
public CoverageReport(EmmaBuildAction action,
InputStream... xmlReports)
throws IOException
- Throws:
IOException
CoverageReport
public CoverageReport(EmmaBuildAction action,
File xmlReport)
throws IOException
- Throws:
IOException
getPreviousResult
public CoverageReport getPreviousResult()
- Description copied from class:
CoverageObject
- Gets the corresponding coverage report object in the previous
run that has the record.
- Overrides:
getPreviousResult in class AbstractReport<CoverageReport,CoverageReport>
- Returns:
- null if no earlier record was found.
getBuild
public hudson.model.AbstractBuild<?,?> getBuild()
- Description copied from class:
CoverageObject
- Gets the build object that owns the whole coverage report tree.
- Overrides:
getBuild in class AbstractReport<CoverageReport,CoverageReport>
Copyright © 2004-2012 Hudson. All Rights Reserved.