@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, testResourcesoutputDirectory, project, siteRenderer| Constructor and Description |
|---|
CheckstyleReport() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canGenerateReport() |
protected CheckstyleExecutorRequest |
createRequest()
Create the Checkstyle executor request.
|
void |
executeReport(java.util.Locale locale) |
java.lang.String |
getOutputName() |
protected org.apache.maven.project.MavenProject |
getProject() |
private boolean |
hasResources(java.util.List<org.apache.maven.model.Resource> resources)
Check if any of the resources exist.
|
getConsoleListener, getDescription, getListener, getName, getSourceDirectories, getTestSourceDirectoriescloseReport, execute, generate, generate, generate, getCategoryName, getInputEncoding, getOutputDirectory, getOutputEncoding, getReportOutputDirectory, getSink, getSinkFactory, getSiteRenderer, isExternalReport, setReportOutputDirectoryprotected org.apache.maven.project.MavenProject getProject()
getProject in class org.apache.maven.reporting.AbstractMavenReportpublic void executeReport(java.util.Locale locale)
throws org.apache.maven.reporting.MavenReportException
executeReport in class AbstractCheckstyleReportorg.apache.maven.reporting.MavenReportExceptionprotected CheckstyleExecutorRequest createRequest() throws org.apache.maven.reporting.MavenReportException
createRequest in class AbstractCheckstyleReportorg.apache.maven.reporting.MavenReportException - If something goes wrong during creation.public java.lang.String getOutputName()
public boolean canGenerateReport()
canGenerateReport in interface org.apache.maven.reporting.MavenReportcanGenerateReport in class org.apache.maven.reporting.AbstractMavenReportprivate boolean hasResources(java.util.List<org.apache.maven.model.Resource> resources)
resources - The resources to checktrue if the resource directory exist