hudson.plugins.findbugs
Class FindBugsProjectAction

java.lang.Object
  extended by hudson.plugins.findbugs.util.AbstractProjectAction<FindBugsResultAction>
      extended by hudson.plugins.findbugs.FindBugsProjectAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject

public class FindBugsProjectAction
extends AbstractProjectAction<FindBugsResultAction>

Entry point to visualize the FindBugs trend graph in the project screen. Drawing of the graph is delegated to the associated FindBugsResultAction.

Author:
Ulli Hafner

Constructor Summary
FindBugsProjectAction(hudson.model.AbstractProject<?,?> project, int height)
          Instantiates a new find bugs project action.
 
Method Summary
 java.lang.String getCookieName()
          Returns the flip trend cookie name.
 java.lang.String getDisplayName()
          
 java.lang.String getTrendName()
          Returns the title of the trend graph.
 
Methods inherited from class hudson.plugins.findbugs.util.AbstractProjectAction
doFlipTrend, doIndex, doTrend, doTrendMap, getIconFileName, getLastAction, getLastFinishedBuild, getProject, getUrlName, hasValidResults, isHealthinessEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindBugsProjectAction

public FindBugsProjectAction(hudson.model.AbstractProject<?,?> project,
                             int height)
Instantiates a new find bugs project action.

Parameters:
project - the project that owns this action
height - the height of the trend graph
Method Detail

getDisplayName

public java.lang.String getDisplayName()


getCookieName

public java.lang.String getCookieName()
Returns the flip trend cookie name.

Specified by:
getCookieName in class AbstractProjectAction<FindBugsResultAction>
Returns:
the flip trend cookie name.

getTrendName

public java.lang.String getTrendName()
Returns the title of the trend graph.

Specified by:
getTrendName in class AbstractProjectAction<FindBugsResultAction>
Returns:
the title of the trend graph.


Copyright © 2008. All Rights Reserved.