org.apache.maven.plugin.checkstyle
Class CheckstyleAggregateReport
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.reporting.AbstractMavenReport
org.apache.maven.plugin.checkstyle.AbstractCheckstyleReport
org.apache.maven.plugin.checkstyle.CheckstyleAggregateReport
- All Implemented Interfaces:
- ContextEnabled, Mojo, MavenMultiPageReport, MavenReport
@Mojo(name="checkstyle-aggregate",
aggregator=true,
requiresDependencyResolution=COMPILE,
threadSafe=true)
public class CheckstyleAggregateReport
- extends AbstractCheckstyleReport
A reporting task that performs Checkstyle analysis and generates an aggregate
HTML report on the violations that Checkstyle finds in a multi-module reactor
build.
- Version:
- $Id: CheckstyleAggregateReport.java 1652790 2015-01-18 16:41:01Z hboutemy $
Fields inherited from class org.apache.maven.plugin.checkstyle.AbstractCheckstyleReport |
cacheFile, checkstyleExecutor, checkstyleRssGenerator, configLocation, consoleOutput, encoding, excludes, failsOnError, headerLocation, includeResources, includes, includeTestResources, includeTestSourceDirectory, JAVA_FILES, locator, PLUGIN_RESOURCES, propertiesLocation, propertyExpansion, resourceExcludes, resourceIncludes, resources, siteTool, skip, stringOutputStream, suppressionsFileExpression, suppressionsLocation, testResources |
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.apache.maven.reporting.AbstractMavenReport |
closeReport, execute, generate, generate, generate, getCategoryName, getInputEncoding, getOutputDirectory, getOutputEncoding, getReportOutputDirectory, getSink, getSinkFactory, getSiteRenderer, isExternalReport, setReportOutputDirectory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CheckstyleAggregateReport
public CheckstyleAggregateReport()
getProject
protected MavenProject getProject()
-
- Overrides:
getProject
in class AbstractMavenReport
createRequest
protected CheckstyleExecutorRequest createRequest()
throws MavenReportException
- Create the Checkstyle executor request.
- Specified by:
createRequest
in class AbstractCheckstyleReport
- Returns:
- The executor request.
- Throws:
MavenReportException
- If something goes wrong during creation.
getOutputName
public String getOutputName()
-
canGenerateReport
public boolean canGenerateReport()
-
- Specified by:
canGenerateReport
in interface MavenReport
- Overrides:
canGenerateReport
in class AbstractMavenReport
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.