|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.emma.CoverageObject<EmmaBuildAction>
hudson.plugins.emma.EmmaBuildAction
public final class EmmaBuildAction
Build view extension by Emma plugin.
As CoverageObject, it retains the overall coverage report.
| Field Summary | |
|---|---|
hudson.model.AbstractBuild<?,?> |
owner
|
| Constructor Summary | |
|---|---|
EmmaBuildAction(hudson.model.AbstractBuild<?,?> owner,
Rule rule,
Ratio classCoverage,
Ratio methodCoverage,
Ratio blockCoverage,
Ratio lineCoverage,
EmmaHealthReportThresholds thresholds)
|
|
| Method Summary | |
|---|---|
hudson.model.AbstractBuild<?,?> |
getBuild()
Gets the build object that owns the whole coverage report tree. |
hudson.model.HealthReport |
getBuildHealth()
Get the coverage HealthReport. |
java.lang.String |
getDisplayName()
|
protected static hudson.FilePath[] |
getEmmaReports(java.io.File file)
|
java.lang.String |
getIconFileName()
|
EmmaBuildAction |
getPreviousResult()
Gets the corresponding coverage report object in the previous run that has the record. |
CoverageReport |
getResult()
Obtains the detailed CoverageReport instance. |
java.lang.Object |
getTarget()
|
java.lang.String |
getUrlName()
|
static EmmaBuildAction |
load(hudson.model.AbstractBuild<?,?> owner,
Rule rule,
EmmaHealthReportThresholds thresholds,
hudson.FilePath... files)
Constructs the object from emma XML report files. |
static EmmaBuildAction |
load(hudson.model.AbstractBuild<?,?> owner,
Rule rule,
EmmaHealthReportThresholds thresholds,
java.io.InputStream... streams)
|
| Methods inherited from class hudson.plugins.emma.CoverageObject |
|---|
doGraph, getApi, getBlockCoverage, getClassCoverage, getLineCoverage, getMethodCoverage, hasClassCoverage, hasLineCoverage, isFailed, printFourCoverageColumns, printRatioCell, printRatioTable, setFailed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final hudson.model.AbstractBuild<?,?> owner
| Constructor Detail |
|---|
public EmmaBuildAction(hudson.model.AbstractBuild<?,?> owner,
Rule rule,
Ratio classCoverage,
Ratio methodCoverage,
Ratio blockCoverage,
Ratio lineCoverage,
EmmaHealthReportThresholds thresholds)
| Method Detail |
|---|
public java.lang.String getDisplayName()
getDisplayName in interface hudson.model.ActiongetDisplayName in interface hudson.model.ModelObjectpublic java.lang.String getIconFileName()
getIconFileName in interface hudson.model.Actionpublic java.lang.String getUrlName()
getUrlName in interface hudson.model.Actionpublic hudson.model.HealthReport getBuildHealth()
HealthReport.
getBuildHealth in interface hudson.model.HealthReportingActionnull if health reporting is disabled.public java.lang.Object getTarget()
getTarget in interface org.kohsuke.stapler.StaplerProxypublic hudson.model.AbstractBuild<?,?> getBuild()
CoverageObject
getBuild in class CoverageObject<EmmaBuildAction>
protected static hudson.FilePath[] getEmmaReports(java.io.File file)
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedExceptionpublic CoverageReport getResult()
CoverageReport instance.
public EmmaBuildAction getPreviousResult()
CoverageObject
getPreviousResult in class CoverageObject<EmmaBuildAction>
public static EmmaBuildAction load(hudson.model.AbstractBuild<?,?> owner,
Rule rule,
EmmaHealthReportThresholds thresholds,
hudson.FilePath... files)
throws java.io.IOException
java.io.IOException - if failed to parse the file.
public static EmmaBuildAction load(hudson.model.AbstractBuild<?,?> owner,
Rule rule,
EmmaHealthReportThresholds thresholds,
java.io.InputStream... streams)
throws java.io.IOException,
org.xmlpull.v1.XmlPullParserException
java.io.IOException
org.xmlpull.v1.XmlPullParserException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||