Package hudson.plugins.clover
Class CloverProjectAction
- java.lang.Object
-
- hudson.model.AbstractModelObject
-
- hudson.model.Actionable
-
- hudson.plugins.clover.CloverProjectAction
-
- All Implemented Interfaces:
Action
,ModelObject
,ProminentProjectAction
,SearchableModelObject
,SearchItem
,ModelObjectWithContextMenu
public class CloverProjectAction extends Actionable implements ProminentProjectAction
Project level action. TODO: refactor this action in a similar manner to JavadocArchiver and BaseJavadocAction etc to avoid duplication.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu
ModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.ContextMenuVisibility, ModelObjectWithContextMenu.MenuItem, ModelObjectWithContextMenu.MenuItemType
-
-
Constructor Summary
Constructors Constructor Description CloverProjectAction(Job<?,?> project)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectoryBrowserSupport
doDynamic(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
String
getDisplayName()
String
getIconFileName()
CloverBuildAction
getLastSuccessfulResult()
Returns the last Result that was successful.String
getSearchUrl()
Graph
getTrendGraph()
String
getUrlName()
-
Methods inherited from class hudson.model.Actionable
addAction, addOrReplaceAction, doContextMenu, getAction, getAction, getActions, getActions, getAllActions, getDynamic, removeAction, removeActions, replaceAction, replaceActions
-
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
-
-
-
-
Constructor Detail
-
CloverProjectAction
public CloverProjectAction(Job<?,?> project)
-
-
Method Detail
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
getLastSuccessfulResult
public CloverBuildAction getLastSuccessfulResult()
Returns the last Result that was successful. WARNING: this method is invoked dynamically from CloverProjectAction/floatingBox.jelly- Returns:
- the last successful build result
-
getTrendGraph
public Graph getTrendGraph()
-
doDynamic
public DirectoryBrowserSupport doDynamic(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
-
getSearchUrl
public String getSearchUrl()
- Specified by:
getSearchUrl
in interfaceSearchItem
-
-