org.apache.maven.plugin.pmd
Class AbstractPmdViolationCheckMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.pmd.AbstractPmdViolationCheckMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
CpdViolationCheckMojo, PmdViolationCheckMojo

public abstract class AbstractPmdViolationCheckMojo
extends org.apache.maven.plugin.AbstractMojo

Base class for mojos that check if there were any PMD violations.

Author:
Brett Porter

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractPmdViolationCheckMojo()
           
 
Method Summary
protected  void executeCheck(java.lang.String filename, java.lang.String tagName)
           
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.maven.plugin.Mojo
execute
 

Constructor Detail

AbstractPmdViolationCheckMojo

public AbstractPmdViolationCheckMojo()
Method Detail

executeCheck

protected void executeCheck(java.lang.String filename,
                            java.lang.String tagName)
                     throws org.apache.maven.plugin.MojoFailureException,
                            org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException


Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.