hudson.plugins.cobertura
Class CoberturaBuildAction

java.lang.Object
  extended by hudson.plugins.cobertura.CoberturaBuildAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.HealthReportingAction, hudson.model.ModelObject, org.kohsuke.stapler.StaplerProxy
Direct Known Subclasses:
MavenCoberturaBuildAction

public class CoberturaBuildAction
extends Object
implements hudson.model.HealthReportingAction, org.kohsuke.stapler.StaplerProxy

Created by IntelliJ IDEA.

Since:
03-Jul-2007 08:43:08
Author:
connollys

Method Summary
 void doGraph(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
          Generates the graph that shows the coverage trend up to this report.
 hudson.model.HealthReport getBuildHealth()
          
 String getDisplayName()
          
 String getIconFileName()
          
 CoberturaBuildAction getPreviousResult()
          Getter for property 'previousResult'.
 CoverageResult getResult()
          Obtains the detailed CoverageResult instance.
 Object getTarget()
          
 String getUrlName()
          
static CoberturaBuildAction load(hudson.model.AbstractBuild<?,?> build, CoverageResult result, CoverageTarget healthyTarget, CoverageTarget unhealthyTarget, boolean onlyStable, boolean failUnhealthy, boolean failUnstable, boolean autoUpdateHealth, boolean autoUpdateStability)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBuildHealth

public hudson.model.HealthReport getBuildHealth()

Specified by:
getBuildHealth in interface hudson.model.HealthReportingAction

getIconFileName

public String getIconFileName()

Specified by:
getIconFileName in interface hudson.model.Action

getDisplayName

public String getDisplayName()

Specified by:
getDisplayName in interface hudson.model.Action
Specified by:
getDisplayName in interface hudson.model.ModelObject

getUrlName

public String getUrlName()

Specified by:
getUrlName in interface hudson.model.Action

getTarget

public Object getTarget()

Specified by:
getTarget in interface org.kohsuke.stapler.StaplerProxy

getPreviousResult

public CoberturaBuildAction getPreviousResult()
Getter for property 'previousResult'.

Returns:
Value for property 'previousResult'.

getResult

public CoverageResult getResult()
Obtains the detailed CoverageResult instance.


load

public static CoberturaBuildAction load(hudson.model.AbstractBuild<?,?> build,
                                        CoverageResult result,
                                        CoverageTarget healthyTarget,
                                        CoverageTarget unhealthyTarget,
                                        boolean onlyStable,
                                        boolean failUnhealthy,
                                        boolean failUnstable,
                                        boolean autoUpdateHealth,
                                        boolean autoUpdateStability)

doGraph

public void doGraph(org.kohsuke.stapler.StaplerRequest req,
                    org.kohsuke.stapler.StaplerResponse rsp)
             throws IOException
Generates the graph that shows the coverage trend up to this report.

Throws:
IOException


Copyright © 2004-2013 Hudson. All Rights Reserved.