public class CheckstyleReportGenerator extends Object
Constructor and Description |
---|
CheckstyleReportGenerator(Sink sink,
ResourceBundle bundle,
File basedir,
SiteTool siteTool) |
public CheckstyleReportGenerator(Sink sink, ResourceBundle bundle, File basedir, SiteTool siteTool)
public Log getLog()
public void setLog(Log log)
public void generateReport(CheckstyleResults results)
public boolean matchRule(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 SeverityLevel getSeverityLevel()
public void setSeverityLevel(SeverityLevel severityLevel)
public boolean isEnableRulesSummary()
public void setEnableRulesSummary(boolean enableRulesSummary)
public boolean isEnableSeveritySummary()
public void setEnableSeveritySummary(boolean enableSeveritySummary)
public boolean isEnableFilesSummary()
public void setEnableFilesSummary(boolean enableFilesSummary)
public boolean isEnableRSS()
public void setEnableRSS(boolean enableRSS)
public String getXrefLocation()
public void setXrefLocation(String xrefLocation)
public Configuration getCheckstyleConfig()
public void setCheckstyleConfig(Configuration config)
public List<org.apache.maven.plugin.checkstyle.CheckstyleReportGenerator.ConfReference> sortConfiguration(CheckstyleResults results)
Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.