hudson.plugins.pmd
Class PmdProjectAction

java.lang.Object
  extended by hudson.plugins.analysis.core.AbstractProjectAction<hudson.plugins.analysis.core.ResultAction<PmdResult>>
      extended by hudson.plugins.pmd.PmdProjectAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject

public class PmdProjectAction
extends hudson.plugins.analysis.core.AbstractProjectAction<hudson.plugins.analysis.core.ResultAction<PmdResult>>

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

Author:
Ulli Hafner

Constructor Summary
PmdProjectAction(hudson.model.AbstractProject<?,?> project)
          Instantiates a new PmdProjectAction.
PmdProjectAction(hudson.model.AbstractProject<?,?> project, java.lang.Class<? extends hudson.plugins.analysis.core.ResultAction<PmdResult>> type)
          Instantiates a new PmdProjectAction.
 
Method Summary
 java.lang.String getDisplayName()
          
 java.lang.String getTrendName()
          
 
Methods inherited from class hudson.plugins.analysis.core.AbstractProjectAction
createConfiguration, createDefaultConfiguration, createUserConfiguration, doIndex, getAvailableGraphs, getDynamic, getIconFileName, getLastAction, getLastFinishedBuild, getProject, getTrendDetails, getTrendGraph, getTrendGraph, getUrlName, hasValidResults, isTrendDeactivated, isTrendVisible
 
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)
Instantiates a new PmdProjectAction.

Parameters:
project - the project that owns this action

PmdProjectAction

public PmdProjectAction(hudson.model.AbstractProject<?,?> project,
                        java.lang.Class<? extends hudson.plugins.analysis.core.ResultAction<PmdResult>> type)
Instantiates a new PmdProjectAction.

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

getDisplayName

public java.lang.String getDisplayName()


getTrendName

public java.lang.String getTrendName()

Specified by:
getTrendName in class hudson.plugins.analysis.core.AbstractProjectAction<hudson.plugins.analysis.core.ResultAction<PmdResult>>


Copyright © 2004-2011. All Rights Reserved.