|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.codecover.CoverageObject<CodeCoverBuildAction>
hudson.plugins.codecover.CodeCoverBuildAction
public final class CodeCoverBuildAction
Build view extension by CodeCover plugin.
As CoverageObject, it retains the overall coverage report.
| Field Summary | |
|---|---|
hudson.model.AbstractBuild<?,?> |
owner
|
| Constructor Summary | |
|---|---|
CodeCoverBuildAction(hudson.model.AbstractBuild<?,?> owner,
Rule rule,
Ratio statementCoverage,
Ratio branchCoverage,
Ratio loopCoverage,
Ratio conditionCoverage,
CodeCoverHealthReportThresholds 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. |
protected static File |
getCodeCoverReport(File file)
|
String |
getDisplayName()
|
String |
getIconFileName()
|
CodeCoverBuildAction |
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 CodeCoverBuildAction |
load(hudson.model.AbstractBuild<?,?> owner,
Rule rule,
CodeCoverHealthReportThresholds thresholds,
hudson.FilePath... files)
Constructs the object from codecover XML report files. |
static CodeCoverBuildAction |
load(hudson.model.AbstractBuild<?,?> owner,
Rule rule,
CodeCoverHealthReportThresholds thresholds,
InputStream... streams)
|
| Methods inherited from class hudson.plugins.codecover.CoverageObject |
|---|
doGraph, getApi, getBranchCoverage, getConditionCoverage, getLoopCoverage, getStatementCoverage, hasConditionCoverage, hasStatementCoverage, 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 CodeCoverBuildAction(hudson.model.AbstractBuild<?,?> owner,
Rule rule,
Ratio statementCoverage,
Ratio branchCoverage,
Ratio loopCoverage,
Ratio conditionCoverage,
CodeCoverHealthReportThresholds 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<CodeCoverBuildAction>
protected static File getCodeCoverReport(File file)
throws IOException,
InterruptedException
IOException
InterruptedExceptionpublic CoverageReport getResult()
CoverageReport instance.
public CodeCoverBuildAction getPreviousResult()
CoverageObject
getPreviousResult in class CoverageObject<CodeCoverBuildAction>
public static CodeCoverBuildAction load(hudson.model.AbstractBuild<?,?> owner,
Rule rule,
CodeCoverHealthReportThresholds thresholds,
hudson.FilePath... files)
throws IOException
IOException - if failed to parse the file.
public static CodeCoverBuildAction load(hudson.model.AbstractBuild<?,?> owner,
Rule rule,
CodeCoverHealthReportThresholds thresholds,
InputStream... streams)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||