hudson.plugins.helpers
Class AbstractProjectAction<PROJECT extends hudson.model.AbstractProject<?,?>>
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.Actionable
hudson.plugins.helpers.AbstractProjectAction<PROJECT>
- Type Parameters:
PROJECT - the type of project that this action is associated with.
- 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
An action that is associated with a project.
- Since:
- 04-Feb-2008 19:42:40
- Author:
- Stephen Connolly
|
Constructor Summary |
protected |
AbstractProjectAction(PROJECT project,
java.lang.Integer functionCcnViolationThreshold,
java.lang.Integer functionNcssViolationThreshold)
|
| 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 |
AbstractProjectAction
protected AbstractProjectAction(PROJECT project,
java.lang.Integer functionCcnViolationThreshold,
java.lang.Integer functionNcssViolationThreshold)
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.
getFunctionCcnViolationThreshold
public java.lang.Integer getFunctionCcnViolationThreshold()
getFunctionNcssViolationThreshold
public java.lang.Integer getFunctionNcssViolationThreshold()
Copyright © 2009. All Rights Reserved.