@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<org.apache.maven.model.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
- in case of an error during plugin execution.com.puppycrawl.tools.checkstyle.api.CheckstyleException
- in case of an error raised by Checkstyle.protected void addSourceDirectory(CheckstyleCheckerListener sinkListener, Collection<File> sourceDirectories, Collection<File> testSourceDirectories, List<org.apache.maven.model.Resource> resources, CheckstyleExecutorRequest request)
public com.puppycrawl.tools.checkstyle.api.Configuration getConfiguration(CheckstyleExecutorRequest request) throws CheckstyleExecutorException
getConfiguration
in interface CheckstyleExecutor
CheckstyleExecutorException
Copyright © 2005–2024 The Apache Software Foundation. All rights reserved.