org.apache.maven.plugin.checkstyle.exec
Class DefaultCheckstyleExecutor

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.apache.maven.plugin.checkstyle.exec.DefaultCheckstyleExecutor
All Implemented Interfaces:
CheckstyleExecutor, org.codehaus.plexus.logging.LogEnabled

@Component(role=CheckstyleExecutor.class,
           hint="default",
           instantiationStrategy="per-lookup")
public class DefaultCheckstyleExecutor
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements CheckstyleExecutor

Since:
2.5
Version:
$Id: DefaultCheckstyleExecutor.html 938569 2015-02-01 15:55:48Z dennisl $
Author:
Olivier Lamy

Constructor Summary
DefaultCheckstyleExecutor()
           
 
Method Summary
protected  void addSourceDirectory(CheckstyleCheckerListener sinkListener, Collection<File> sourceDirectories, Collection<File> testSourceDirectories, List<Resource> resources, CheckstyleExecutorRequest request)
           
 CheckstyleResults executeCheckstyle(CheckstyleExecutorRequest request)
           
 Configuration getConfiguration(CheckstyleExecutorRequest request)
           
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCheckstyleExecutor

public DefaultCheckstyleExecutor()
Method Detail

executeCheckstyle

public CheckstyleResults executeCheckstyle(CheckstyleExecutorRequest request)
                                    throws CheckstyleExecutorException,
                                           CheckstyleException
Specified by:
executeCheckstyle in interface CheckstyleExecutor
Parameters:
request - CheckstyleExecutorRequest
Returns:
CheckstyleResults
Throws:
CheckstyleExecutorException
CheckstyleException

addSourceDirectory

protected void addSourceDirectory(CheckstyleCheckerListener sinkListener,
                                  Collection<File> sourceDirectories,
                                  Collection<File> testSourceDirectories,
                                  List<Resource> resources,
                                  CheckstyleExecutorRequest request)

getConfiguration

public Configuration getConfiguration(CheckstyleExecutorRequest request)
                               throws CheckstyleExecutorException
Specified by:
getConfiguration in interface CheckstyleExecutor
Throws:
CheckstyleExecutorException


Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.