org.apache.maven.plugin.checkstyle
Class DefaultCheckstyleExecutor
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.plugin.checkstyle.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.java 1586844 2014-04-12 09:53:39Z rfscholte $
- Author:
- Olivier Lamy
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 |
DefaultCheckstyleExecutor
public DefaultCheckstyleExecutor()
executeCheckstyle
public CheckstyleResults executeCheckstyle(CheckstyleExecutorRequest request)
throws CheckstyleExecutorException,
CheckstyleException
- Specified by:
executeCheckstyle
in interface CheckstyleExecutor
- Returns:
CheckstyleResults
- Throws:
CheckstyleExecutorException
CheckstyleException
addSourceDirectory
protected void addSourceDirectory(CheckstyleReportListener sinkListener,
File sourceDirectory,
File testSourceDirectory,
List<Resource> resources,
CheckstyleExecutorRequest request)
getConfiguration
public Configuration getConfiguration(CheckstyleExecutorRequest request)
throws CheckstyleExecutorException
- Throws:
CheckstyleExecutorException
Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.