org.sonar.plugins.pmd
Class PmdMavenPluginHandler

java.lang.Object
  extended by org.sonar.plugins.maven.AbstractMavenPluginHandler
      extended by org.sonar.plugins.pmd.PmdMavenPluginHandler
All Implemented Interfaces:
MavenPluginHandler

public class PmdMavenPluginHandler
extends AbstractMavenPluginHandler


Constructor Summary
  PmdMavenPluginHandler(PluginContext pluginContext, PmdRulesRepository pmdRulesRepository)
           
protected PmdMavenPluginHandler(RulesPluginContext rulesPluginContext, PmdRulesRepository pmdRulesRepository)
           
 
Method Summary
 void configurePlugin(org.apache.maven.project.MavenProject pom, org.apache.maven.model.Plugin plugin)
           
 java.lang.String getArtifactId()
           
 java.lang.String[] getGoals()
          the maven goals to execute
 java.lang.String getGroupId()
           
 java.lang.String getVersion()
           
 boolean isFixedVersion()
           
 boolean shouldExecuteOn(org.apache.maven.project.MavenProject pom)
           
 boolean shouldStopOnFailure()
           
 
Methods inherited from class org.sonar.plugins.maven.AbstractMavenPluginHandler
addRuleExtensionsDependency, configure, createPluginWithConfiguration, definePlugin, getWorkingDirectory, setConfigParameter, setConfigParameterIfNotAlreadySet, unsetConfigParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PmdMavenPluginHandler

public PmdMavenPluginHandler(PluginContext pluginContext,
                             PmdRulesRepository pmdRulesRepository)

PmdMavenPluginHandler

protected PmdMavenPluginHandler(RulesPluginContext rulesPluginContext,
                                PmdRulesRepository pmdRulesRepository)
Method Detail

shouldStopOnFailure

public boolean shouldStopOnFailure()

shouldExecuteOn

public boolean shouldExecuteOn(org.apache.maven.project.MavenProject pom)

getGroupId

public java.lang.String getGroupId()

getArtifactId

public java.lang.String getArtifactId()

getVersion

public java.lang.String getVersion()

isFixedVersion

public boolean isFixedVersion()

getGoals

public java.lang.String[] getGoals()
Description copied from interface: MavenPluginHandler
the maven goals to execute


configurePlugin

public void configurePlugin(org.apache.maven.project.MavenProject pom,
                            org.apache.maven.model.Plugin plugin)
Specified by:
configurePlugin in class AbstractMavenPluginHandler


Copyright © 2007-2008 hortis. All Rights Reserved.