hudson.plugins.pmd
Class PmdProjectAction

java.lang.Object
  extended by hudson.plugins.pmd.util.AbstractProjectAction<PmdResultAction>
      extended by hudson.plugins.pmd.PmdProjectAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject

public class PmdProjectAction
extends AbstractProjectAction<PmdResultAction>

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

Author:
Ulli Hafner

Constructor Summary
PmdProjectAction(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.pmd.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

PmdProjectAction

public PmdProjectAction(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<PmdResultAction>
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<PmdResultAction>
Returns:
the title of the trend graph.


Copyright © 2009. All Rights Reserved.