|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.apache.maven.reporting.AbstractMavenReport
org.apache.maven.plugin.checkstyle.AbstractCheckstyleReport
org.apache.maven.plugin.checkstyle.CheckstyleReport
@Mojo(name="checkstyle",
requiresDependencyResolution=COMPILE,
threadSafe=true)
public class CheckstyleReportA reporting task that performs Checkstyle analysis and generates an HTML report on any violations that Checkstyle finds.
| Field Summary |
|---|
| 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 class org.apache.maven.reporting.AbstractMavenReport |
|---|
outputDirectory, project, siteRenderer |
| Fields inherited from interface org.apache.maven.reporting.MavenReport |
|---|
CATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLE |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
CheckstyleReport()
|
|
| Method Summary | |
|---|---|
boolean |
canGenerateReport()
|
protected CheckstyleExecutorRequest |
createRequest()
Create the Checkstyle executor request. |
void |
executeReport(Locale locale)
|
String |
getOutputName()
|
protected org.apache.maven.project.MavenProject |
getProject()
|
| Methods inherited from class org.apache.maven.plugin.checkstyle.AbstractCheckstyleReport |
|---|
getConsoleListener, getDescription, getListener, getName, getSourceDirectories, getTestSourceDirectories |
| 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 org.apache.maven.plugin.AbstractMojo |
|---|
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CheckstyleReport()
| Method Detail |
|---|
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 AbstractCheckstyleReportorg.apache.maven.reporting.MavenReportException
protected CheckstyleExecutorRequest createRequest()
throws org.apache.maven.reporting.MavenReportException
createRequest in class AbstractCheckstyleReportorg.apache.maven.reporting.MavenReportException - If something goes wrong during creation.public String getOutputName()
public boolean canGenerateReport()
canGenerateReport in interface org.apache.maven.reporting.MavenReportcanGenerateReport in class org.apache.maven.reporting.AbstractMavenReport
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||