@Component(role=CheckstyleExecutor.class, hint="default", instantiationStrategy="per-lookup") public class DefaultCheckstyleExecutor extends org.codehaus.plexus.logging.AbstractLogEnabled implements CheckstyleExecutor
Constructor and Description |
---|
DefaultCheckstyleExecutor() |
Modifier and Type | Method and Description |
---|---|
protected void |
addSourceDirectory(CheckstyleCheckerListener sinkListener,
Collection<File> sourceDirectories,
Collection<File> testSourceDirectories,
List<Resource> resources,
CheckstyleExecutorRequest request) |
CheckstyleResults |
executeCheckstyle(CheckstyleExecutorRequest request) |
com.puppycrawl.tools.checkstyle.api.Configuration |
getConfiguration(CheckstyleExecutorRequest request) |
public CheckstyleResults executeCheckstyle(CheckstyleExecutorRequest request) throws CheckstyleExecutorException, com.puppycrawl.tools.checkstyle.api.CheckstyleException
executeCheckstyle
in interface CheckstyleExecutor
request
- CheckstyleExecutorRequest
CheckstyleResults
CheckstyleExecutorException
com.puppycrawl.tools.checkstyle.api.CheckstyleException
protected void addSourceDirectory(CheckstyleCheckerListener sinkListener, Collection<File> sourceDirectories, Collection<File> testSourceDirectories, List<Resource> resources, CheckstyleExecutorRequest request)
public com.puppycrawl.tools.checkstyle.api.Configuration getConfiguration(CheckstyleExecutorRequest request) throws CheckstyleExecutorException
getConfiguration
in interface CheckstyleExecutor
CheckstyleExecutorException
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.