public class CheckstyleReportRenderer
extends org.apache.maven.reporting.AbstractMavenReportRenderer
| Constructor and Description | 
|---|
CheckstyleReportRenderer(org.apache.maven.doxia.sink.Sink sink,
                        org.codehaus.plexus.i18n.I18N i18n,
                        Locale locale,
                        org.apache.maven.project.MavenProject project,
                        org.apache.maven.doxia.tools.SiteTool siteTool,
                        String ruleset,
                        String xrefLocation,
                        String xrefTestLocation,
                        List<File> testSourceDirectories,
                        boolean enableRulesSummary,
                        boolean enableSeveritySummary,
                        boolean enableFilesSummary,
                        CheckstyleResults results)  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getTitle()  | 
boolean | 
matchRule(com.puppycrawl.tools.checkstyle.api.AuditEvent event,
         String ruleName,
         String expectedMessage,
         String expectedSeverity)
Check if a violation matches a rule. 
 | 
protected void | 
renderBody()  | 
void | 
setTreeWalkerNames(List<String> treeWalkerNames)  | 
List<org.apache.maven.plugins.checkstyle.CheckstyleReportRenderer.ConfReference> | 
sortConfiguration(CheckstyleResults results)  | 
createLinkPatternedText, endSection, endTable, javaScript, link, linkPatternedText, paragraph, propertiesToString, render, startSection, startSection, startTable, startTable, tableCaption, tableCell, tableCell, tableHeader, tableHeaderCell, tableRow, text, verbatimLink, verbatimSource, verbatimTextpublic CheckstyleReportRenderer(org.apache.maven.doxia.sink.Sink sink,
                                org.codehaus.plexus.i18n.I18N i18n,
                                Locale locale,
                                org.apache.maven.project.MavenProject project,
                                org.apache.maven.doxia.tools.SiteTool siteTool,
                                String ruleset,
                                String xrefLocation,
                                String xrefTestLocation,
                                List<File> testSourceDirectories,
                                boolean enableRulesSummary,
                                boolean enableSeveritySummary,
                                boolean enableFilesSummary,
                                CheckstyleResults results)
public String getTitle()
getTitle in interface org.apache.maven.reporting.MavenReportRenderergetTitle in class org.apache.maven.reporting.AbstractMavenReportRendererprotected void renderBody()
renderBody in class org.apache.maven.reporting.AbstractMavenReportRendererpublic boolean matchRule(com.puppycrawl.tools.checkstyle.api.AuditEvent event,
                         String ruleName,
                         String expectedMessage,
                         String expectedSeverity)
event - the violation to checkruleName - The name of the ruleexpectedMessage - A message that, if it's not null, will be matched to the message from the violationexpectedSeverity - A severity that, if it's not null, will be matched to the severity from the violationpublic List<org.apache.maven.plugins.checkstyle.CheckstyleReportRenderer.ConfReference> sortConfiguration(CheckstyleResults results)
Copyright © 2005–2024 The Apache Software Foundation. All rights reserved.