hudson.plugins.helpers
Class AbstractProjectAction<PROJECT extends hudson.model.AbstractProject<?,?>>

java.lang.Object
  extended by hudson.model.AbstractModelObject
      extended by hudson.model.Actionable
          extended by hudson.plugins.helpers.AbstractProjectAction<PROJECT>
All Implemented Interfaces:
hudson.model.ModelObject, hudson.search.SearchableModelObject, hudson.search.SearchItem
Direct Known Subclasses:
AbstractProjectReport

public abstract class AbstractProjectAction<PROJECT extends hudson.model.AbstractProject<?,?>>
extends hudson.model.Actionable


Constructor Summary
protected AbstractProjectAction(PROJECT project)
           
 
Method Summary
 java.lang.String getGraphName()
          Override to define the graph name.
 PROJECT getProject()
          Getter for property 'project'.
 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 hudson.model.Actionable
addAction, getAction, getAction, getActions, getActions, getDynamic
 
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hudson.model.ModelObject
getDisplayName
 
Methods inherited from interface hudson.search.SearchItem
getSearchUrl
 

Constructor Detail

AbstractProjectAction

protected AbstractProjectAction(PROJECT project)
Method Detail

getProject

public PROJECT getProject()
Getter for property 'project'.

Returns:
Value for property 'project'.

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.


Copyright © 2010. All Rights Reserved.