@Mojo(name="checkstyle", requiresDependencyResolution=COMPILE, threadSafe=true) public class CheckstyleReport extends 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
outputDirectory, project, siteRenderer
Constructor and Description |
---|
CheckstyleReport() |
Modifier and Type | Method and Description |
---|---|
boolean |
canGenerateReport() |
protected CheckstyleExecutorRequest |
createRequest()
Create the Checkstyle executor request.
|
void |
executeReport(Locale locale) |
String |
getOutputName() |
protected org.apache.maven.project.MavenProject |
getProject() |
getConsoleListener, getDescription, getListener, getName, getSourceDirectories, getTestSourceDirectories
closeReport, execute, generate, generate, generate, getCategoryName, getInputEncoding, getOutputDirectory, getOutputEncoding, getReportOutputDirectory, getSink, getSinkFactory, getSiteRenderer, isExternalReport, setReportOutputDirectory
protected org.apache.maven.project.MavenProject getProject()
getProject
in class org.apache.maven.reporting.AbstractMavenReport
public void executeReport(Locale locale) throws org.apache.maven.reporting.MavenReportException
executeReport
in class AbstractCheckstyleReport
org.apache.maven.reporting.MavenReportException
protected CheckstyleExecutorRequest createRequest() throws org.apache.maven.reporting.MavenReportException
createRequest
in class AbstractCheckstyleReport
org.apache.maven.reporting.MavenReportException
- If something goes wrong during creation.public String getOutputName()
public boolean canGenerateReport()
canGenerateReport
in interface org.apache.maven.reporting.MavenReport
canGenerateReport
in class org.apache.maven.reporting.AbstractMavenReport
Copyright © 2005–2019 The Apache Software Foundation. All rights reserved.