hudson.plugins.findbugs
Class FindBugsProjectAction

java.lang.Object
  extended by hudson.plugins.findbugs.FindBugsProjectAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject, java.io.Serializable

public class FindBugsProjectAction
extends java.lang.Object
implements hudson.model.Action

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

See Also:
Serialized Form

Constructor Summary
FindBugsProjectAction(hudson.model.Project<?,?> project)
          Instantiates a new find bugs project action.
 
Method Summary
 void doGraph(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
          Display the warnings trend.
 java.lang.String getDisplayName()
          
 java.lang.String getIconFileName()
          
 hudson.model.Project<?,?> getProject()
          Returns the project.
 java.lang.String getUrlName()
          
 
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.Project<?,?> project)
Instantiates a new find bugs project action.

Parameters:
project - the project that owns this action
Method Detail

getProject

public hudson.model.Project<?,?> getProject()
Returns the project.

Returns:
the project

getDisplayName

public java.lang.String getDisplayName()

Specified by:
getDisplayName in interface hudson.model.Action
Specified by:
getDisplayName in interface hudson.model.ModelObject

getIconFileName

public java.lang.String getIconFileName()

Specified by:
getIconFileName in interface hudson.model.Action

getUrlName

public java.lang.String getUrlName()

Specified by:
getUrlName in interface hudson.model.Action

doGraph

public void doGraph(org.kohsuke.stapler.StaplerRequest request,
                    org.kohsuke.stapler.StaplerResponse response)
             throws java.io.IOException
Display the warnings trend. Delegates to the the associated FindBugsResultAction.

Parameters:
request - Stapler request
response - Stapler response
Throws:
java.io.IOException - in case of an error in FindBugsResultAction.doGraph(StaplerRequest, StaplerResponse)


Copyright © 2007. All Rights Reserved.