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 java.lang.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()
          
 java.lang.String getDisplayName()
          
 java.lang.String getIconFileName()
          
 CoberturaBuildAction getPreviousResult()
          Getter for property 'previousResult'.
 CoverageResult getResult()
          Obtains the detailed CoverageResult instance.
 java.lang.Object getTarget()
          
 java.lang.String getUrlName()
          
static CoberturaBuildAction load(hudson.model.AbstractBuild<?,?> build, CoverageResult result, CoverageTarget healthyTarget, CoverageTarget unhealthyTarget, boolean onlyStable)
           
 
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 java.lang.String getIconFileName()

Specified by:
getIconFileName in interface hudson.model.Action

getDisplayName

public java.lang.String getDisplayName()

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

getUrlName

public java.lang.String getUrlName()

Specified by:
getUrlName in interface hudson.model.Action

getTarget

public java.lang.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)

doGraph

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

Throws:
java.io.IOException


Copyright © 2010. All Rights Reserved.