hudson.plugins.testng
Class TestNGBuildAction

java.lang.Object
  extended by hudson.plugins.testng.TestNGBuildAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject, Serializable
Direct Known Subclasses:
BuildIndividualReport

public class TestNGBuildAction
extends Object
implements hudson.model.Action, Serializable

See Also:
Serialized Form

Constructor Summary
TestNGBuildAction(hudson.model.AbstractBuild<?,?> build, TestResults testngResults)
           
 
Method Summary
 hudson.model.Api getApi()
           
 hudson.model.AbstractBuild<?,?> getBuild()
          Getter for property 'build'.
 String getDisplayName()
          
 Object getDynamic(String token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
           
 int getFailedTestCount()
           
 String getIconFileName()
          
 int getPassedTestCount()
           
 TestResults getResults()
           
 int getSkippedTestCount()
           
 String getSummary()
          The summary of this build report for display on the build index page.
 String getUrlName()
          
 boolean isFloatingBoxActive()
          Override to control when the floating box should be displayed.
 boolean isGraphActive()
          Override to control when the action displays a trend graph.
protected  Object readResolve()
           NOTE: Executed when build action is read from disk - e.g.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestNGBuildAction

public TestNGBuildAction(hudson.model.AbstractBuild<?,?> build,
                         TestResults testngResults)
Method Detail

getBuild

public hudson.model.AbstractBuild<?,?> getBuild()
Getter for property 'build'.

Returns:
Value for property 'build'.

isFloatingBoxActive

public boolean isFloatingBoxActive()
Override to control when the floating box should be displayed.

Returns:
true if the floating box should be visible.

isGraphActive

public boolean isGraphActive()
Override to control when the action displays a trend graph.

Returns:
true if the action should show a trend graph.

getResults

public TestResults getResults()

getSummary

public String getSummary()
The summary of this build report for display on the build index page.

Returns:

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

getDynamic

public Object getDynamic(String token,
                         org.kohsuke.stapler.StaplerRequest req,
                         org.kohsuke.stapler.StaplerResponse rsp)

getApi

public hudson.model.Api getApi()

getPassedTestCount

public int getPassedTestCount()

getFailedTestCount

public int getFailedTestCount()

getSkippedTestCount

public int getSkippedTestCount()

readResolve

protected Object readResolve()
NOTE: Executed when build action is read from disk - e.g. on Jenkins startup



Copyright © 2004-2012. All Rights Reserved.