public abstract class AbstractCheckstyleReport
extends org.apache.maven.reporting.AbstractMavenReport
Modifier and Type | Field and Description |
---|---|
protected CheckstyleExecutor |
checkstyleExecutor |
protected CheckstyleRssGenerator |
checkstyleRssGenerator
CheckstyleRssGenerator.
|
protected org.codehaus.plexus.resource.ResourceManager |
locator |
static String |
PLUGIN_RESOURCES |
protected org.apache.maven.project.MavenProject |
project
The Maven Project Object.
|
protected org.apache.maven.doxia.tools.SiteTool |
siteTool
SiteTool.
|
protected boolean |
skip
Skip entire check.
|
protected ByteArrayOutputStream |
stringOutputStream |
Constructor and Description |
---|
AbstractCheckstyleReport() |
Modifier and Type | Method and Description |
---|---|
protected abstract CheckstyleExecutorRequest |
createRequest()
Create the Checkstyle executor request.
|
void |
executeReport(Locale locale) |
protected com.puppycrawl.tools.checkstyle.DefaultLogger |
getConsoleListener()
Creates and returns the console listener.
|
String |
getDescription(Locale locale) |
protected com.puppycrawl.tools.checkstyle.api.AuditListener |
getListener()
Creates and returns the report generation listener.
|
String |
getName(Locale locale) |
protected String |
getOutputDirectory() |
protected org.apache.maven.project.MavenProject |
getProject() |
protected org.apache.maven.doxia.siterenderer.Renderer |
getSiteRenderer() |
void |
setReportOutputDirectory(File reportOutputDirectory) |
canGenerateReport, closeReport, execute, generate, generate, generate, getCategoryName, getReportOutputDirectory, getSink, getSinkFactory, isExternalReport
getLog, getPluginContext, setLog, setPluginContext
public static final String PLUGIN_RESOURCES
protected boolean skip
protected org.apache.maven.doxia.tools.SiteTool siteTool
protected org.apache.maven.project.MavenProject project
protected org.codehaus.plexus.resource.ResourceManager locator
protected CheckstyleRssGenerator checkstyleRssGenerator
protected CheckstyleExecutor checkstyleExecutor
protected ByteArrayOutputStream stringOutputStream
protected String getOutputDirectory()
getOutputDirectory
in class org.apache.maven.reporting.AbstractMavenReport
protected org.apache.maven.project.MavenProject getProject()
getProject
in class org.apache.maven.reporting.AbstractMavenReport
protected org.apache.maven.doxia.siterenderer.Renderer getSiteRenderer()
getSiteRenderer
in class org.apache.maven.reporting.AbstractMavenReport
public void executeReport(Locale locale) throws org.apache.maven.reporting.MavenReportException
executeReport
in class org.apache.maven.reporting.AbstractMavenReport
org.apache.maven.reporting.MavenReportException
protected abstract CheckstyleExecutorRequest createRequest() throws org.apache.maven.reporting.MavenReportException
org.apache.maven.reporting.MavenReportException
- If something goes wrong during creation.protected com.puppycrawl.tools.checkstyle.api.AuditListener getListener() throws org.apache.maven.reporting.MavenReportException
org.apache.maven.reporting.MavenReportException
- If something goes wrong.protected com.puppycrawl.tools.checkstyle.DefaultLogger getConsoleListener() throws org.apache.maven.reporting.MavenReportException
org.apache.maven.reporting.MavenReportException
- If something goes wrong.public void setReportOutputDirectory(File reportOutputDirectory)
setReportOutputDirectory
in interface org.apache.maven.reporting.MavenReport
setReportOutputDirectory
in class org.apache.maven.reporting.AbstractMavenReport
Copyright © 2005-2015 The Apache Software Foundation. All Rights Reserved.