hudson.plugins.testng
Class TestNGBuildAction

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

public class TestNGBuildAction
extends java.lang.Object
implements hudson.model.Action, java.io.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'.
 java.lang.String getDisplayName()
          
 java.lang.Object getDynamic(java.lang.String token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
           
 java.lang.String getIconFileName()
          
 TestResults getPreviousResults()
           
 TestResults getResults()
           
 java.lang.String getSummary()
          The summary of this build report for display on the build index page.
 java.lang.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.
 
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()

getPreviousResults

public TestResults getPreviousResults()

getSummary

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

Returns:

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

getDynamic

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

getApi

public hudson.model.Api getApi()


Copyright © 2004-2011. All Rights Reserved.