hudson.plugins.testng
Class BuildIndividualReport

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

public class BuildIndividualReport
extends java.lang.Object
implements hudson.model.HealthReportingAction, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
BuildIndividualReport(java.util.Collection<TestResults> testngResults)
           
 
Method Summary
 hudson.model.AbstractBuild<?,?> getBuild()
          Getter for property 'build'.
 hudson.model.HealthReport getBuildHealth()
          
 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.
 void setBuild(hudson.model.AbstractBuild<?,?> build)
          Write-once setter for property 'build'.
 void setBuildHealth(hudson.model.HealthReport healthReport)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildIndividualReport

public BuildIndividualReport(java.util.Collection<TestResults> testngResults)
Method Detail

setBuild

public void setBuild(hudson.model.AbstractBuild<?,?> build)
Write-once setter for property 'build'.

Parameters:
build - The value to set the build to.

getBuildHealth

public hudson.model.HealthReport getBuildHealth()

Specified by:
getBuildHealth in interface hudson.model.HealthReportingAction

setBuildHealth

public void setBuildHealth(hudson.model.HealthReport healthReport)

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)


Copyright © 2004-2011. All Rights Reserved.