hudson.plugins.helpers
Class AbstractBuildAction<BUILD extends hudson.model.AbstractBuild<?,?>>

java.lang.Object
  extended by hudson.plugins.helpers.AbstractBuildAction<BUILD>
All Implemented Interfaces:
hudson.model.Action, hudson.model.HealthReportingAction, hudson.model.ModelObject, java.io.Serializable
Direct Known Subclasses:
BuildAggregatedReport, BuildIndividualReport

public abstract class AbstractBuildAction<BUILD extends hudson.model.AbstractBuild<?,?>>
extends java.lang.Object
implements hudson.model.HealthReportingAction, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
AbstractBuildAction(java.util.Collection<TestResults> results)
          Constructs a new AbstractBuildReport.
 
Method Summary
 BUILD 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.
 void setBuild(BUILD build)
          Write once setter for property 'build'.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hudson.model.HealthReportingAction
getBuildHealth
 

Constructor Detail

AbstractBuildAction

public AbstractBuildAction(java.util.Collection<TestResults> results)
Constructs a new AbstractBuildReport.

Parameters:
results - - testng test results
Method Detail

getBuild

public BUILD getBuild()
Getter for property 'build'.

Returns:
Value for property 'build'.

setBuild

public void setBuild(BUILD build)
Write once setter for property 'build'.

Parameters:
build - Value to set 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 © 2010. All Rights Reserved.