|
||||||||||
| 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,
Ratio conditionCoverage,
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. |
String |
getDisplayName()
|
protected static hudson.FilePath[] |
getEmmaReports(File file)
|
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. |
Object |
getTarget()
|
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,
InputStream... streams)
|
| 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 |
| 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,
Ratio conditionCoverage,
EmmaHealthReportThresholds thresholds)
| Method Detail |
|---|
public String getDisplayName()
getDisplayName in interface hudson.model.ActiongetDisplayName in interface hudson.model.ModelObjectpublic String getIconFileName()
getIconFileName in interface hudson.model.Actionpublic 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 Object getTarget()
getTarget in interface org.kohsuke.stapler.StaplerProxypublic hudson.model.AbstractBuild<?,?> getBuild()
CoverageObject
getBuild in class CoverageObject<EmmaBuildAction>
protected static hudson.FilePath[] getEmmaReports(File file)
throws IOException,
InterruptedException
IOException
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 IOException
IOException - if failed to parse the file.
public static EmmaBuildAction load(hudson.model.AbstractBuild<?,?> owner,
Rule rule,
EmmaHealthReportThresholds thresholds,
InputStream... streams)
throws IOException,
org.xmlpull.v1.XmlPullParserException
IOException
org.xmlpull.v1.XmlPullParserException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||