|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.jacoco.model.CoverageObject<JacocoBuildAction>
hudson.plugins.jacoco.JacocoBuildAction
public final class JacocoBuildAction
Build view extension by JaCoCo plugin.
As CoverageObject, it retains the overall coverage report.
| Field Summary | |
|---|---|
hudson.model.AbstractBuild<?,?> |
build
Deprecated. |
PrintStream |
logger
|
hudson.model.AbstractBuild<?,?> |
owner
|
| Fields inherited from class hudson.plugins.jacoco.model.CoverageObject |
|---|
branch, clazz, complexity, instruction, line, maxBranch, maxClazz, maxComplexity, maxCoveredBranch, maxCoveredClazz, maxCoveredComplexity, maxCoveredInstruction, maxCoveredLine, maxCoveredMethod, maxInstruction, maxLine, maxMethod, maxMissedBranch, maxMissedClazz, maxMissedComplexity, maxMissedInstruction, maxMissedLine, maxMissedMethod, method |
| Constructor Summary | |
|---|---|
JacocoBuildAction(hudson.model.AbstractBuild<?,?> owner,
Rule rule,
Map<CoverageElement.Type,Coverage> ratios,
JacocoHealthReportThresholds thresholds,
hudson.model.BuildListener listener,
String[] inclusions,
String[] exclusions)
|
|
| 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()
|
String |
getIconFileName()
|
protected static ExecutionFileLoader |
getJacocoReports(hudson.FilePath fp,
String[] includes,
String[] excludes)
|
protected ExecutionFileLoader |
getJacocoReports(File file,
String[] includes,
String[] excludes)
|
JacocoBuildAction |
getPreviousResult()
Gets the corresponding coverage report object in the previous run that has the record. |
CoverageReport |
getResult()
Obtains the detailed CoverageReport instance. |
Object |
getTarget()
|
JacocoHealthReportThresholds |
getThresholds()
|
String |
getUrlName()
|
static JacocoBuildAction |
load(hudson.model.AbstractBuild<?,?> owner,
Rule rule,
JacocoHealthReportThresholds thresholds,
hudson.model.BuildListener listener,
hudson.FilePath actualBuildDirRoot,
String[] includes,
String[] excludes)
Constructs the object from JaCoCo exec files. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final hudson.model.AbstractBuild<?,?> owner
@Deprecated public transient hudson.model.AbstractBuild<?,?> build
public final PrintStream logger
| Constructor Detail |
|---|
public JacocoBuildAction(hudson.model.AbstractBuild<?,?> owner,
Rule rule,
Map<CoverageElement.Type,Coverage> ratios,
JacocoHealthReportThresholds thresholds,
hudson.model.BuildListener listener,
String[] inclusions,
String[] exclusions)
owner - rule - ratios - The available coverage ratios in the report. Null is treated
the same as an empty map.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 JacocoHealthReportThresholds getThresholds()
public Object getTarget()
getTarget in interface org.kohsuke.stapler.StaplerProxypublic hudson.model.AbstractBuild<?,?> getBuild()
CoverageObject
getBuild in class CoverageObject<JacocoBuildAction>
protected ExecutionFileLoader getJacocoReports(File file,
String[] includes,
String[] excludes)
throws IOException
IOException
protected static ExecutionFileLoader getJacocoReports(hudson.FilePath fp,
String[] includes,
String[] excludes)
throws IOException
IOExceptionpublic CoverageReport getResult()
CoverageReport instance.
public JacocoBuildAction getPreviousResult()
CoverageObject
getPreviousResult in class CoverageObject<JacocoBuildAction>
public static JacocoBuildAction load(hudson.model.AbstractBuild<?,?> owner,
Rule rule,
JacocoHealthReportThresholds thresholds,
hudson.model.BuildListener listener,
hudson.FilePath actualBuildDirRoot,
String[] includes,
String[] excludes)
throws IOException
IOException - if failed to parse the file.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||