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

java.lang.Object
  extended by hudson.plugins.helpers.AbstractBuildAction<BUILD>
Type Parameters:
BUILD - the build class that the action is associated with.
All Implemented Interfaces:
hudson.model.Action, hudson.model.HealthReportingAction, hudson.model.ModelObject, java.io.Serializable
Direct Known Subclasses:
AbstractBuildReport

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

An action that is associated with a build.

Since:
04-Feb-2008 19:41:25
Author:
Stephen Connolly
See Also:
Serialized Form

Constructor Summary
protected AbstractBuildAction()
          Constructs a new AbstractBuildAction.
 
Method Summary
 BUILD getBuild()
          Getter for property 'build'.
 java.lang.String getGraphName()
          Override to define the graph name.
 java.lang.String getSummary()
          Override to control the build summary detail.
 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
 
Methods inherited from interface hudson.model.Action
getDisplayName, getIconFileName, getUrlName
 

Constructor Detail

AbstractBuildAction

protected AbstractBuildAction()
Constructs a new AbstractBuildAction.

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.

getGraphName

public java.lang.String getGraphName()
Override to define the graph name.

Returns:
The graph name.

getSummary

public java.lang.String getSummary()
Override to control the build summary detail.

Returns:
the summary string for the main build page.


Copyright © 2009. All Rights Reserved.