hudson.plugins.checkstyle
Class CheckStyleProjectAction

java.lang.Object
  extended by hudson.plugins.checkstyle.util.AbstractProjectAction<CheckStyleResultAction>
      extended by hudson.plugins.checkstyle.CheckStyleProjectAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject, java.io.Serializable

public class CheckStyleProjectAction
extends AbstractProjectAction<CheckStyleResultAction>

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

Author:
Ulli Hafner
See Also:
Serialized Form

Constructor Summary
CheckStyleProjectAction(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.checkstyle.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

CheckStyleProjectAction

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


Copyright © 2008. All Rights Reserved.