public class CheckstyleResults extends Object
Constructor and Description |
---|
CheckstyleResults() |
Modifier and Type | Method and Description |
---|---|
com.puppycrawl.tools.checkstyle.api.Configuration |
getConfiguration() |
int |
getFileCount() |
Map<String,List<com.puppycrawl.tools.checkstyle.api.AuditEvent>> |
getFiles() |
List<com.puppycrawl.tools.checkstyle.api.AuditEvent> |
getFileViolations(String file) |
long |
getSeverityCount(List<com.puppycrawl.tools.checkstyle.api.AuditEvent> violations,
com.puppycrawl.tools.checkstyle.api.SeverityLevel level) |
long |
getSeverityCount(com.puppycrawl.tools.checkstyle.api.SeverityLevel level) |
long |
getSeverityCount(String file,
com.puppycrawl.tools.checkstyle.api.SeverityLevel level) |
void |
setConfiguration(com.puppycrawl.tools.checkstyle.api.Configuration configuration) |
void |
setFiles(Map<String,List<com.puppycrawl.tools.checkstyle.api.AuditEvent>> files) |
void |
setFileViolations(String file,
List<com.puppycrawl.tools.checkstyle.api.AuditEvent> violations) |
public List<com.puppycrawl.tools.checkstyle.api.AuditEvent> getFileViolations(String file)
public void setFileViolations(String file, List<com.puppycrawl.tools.checkstyle.api.AuditEvent> violations)
public void setFiles(Map<String,List<com.puppycrawl.tools.checkstyle.api.AuditEvent>> files)
public int getFileCount()
public long getSeverityCount(com.puppycrawl.tools.checkstyle.api.SeverityLevel level)
public long getSeverityCount(String file, com.puppycrawl.tools.checkstyle.api.SeverityLevel level)
public long getSeverityCount(List<com.puppycrawl.tools.checkstyle.api.AuditEvent> violations, com.puppycrawl.tools.checkstyle.api.SeverityLevel level)
public com.puppycrawl.tools.checkstyle.api.Configuration getConfiguration()
public void setConfiguration(com.puppycrawl.tools.checkstyle.api.Configuration configuration)
Copyright © 2005–2024 The Apache Software Foundation. All rights reserved.