org.apache.maven.plugin.checkstyle.exec
Class CheckstyleResults

java.lang.Object
  extended by org.apache.maven.plugin.checkstyle.exec.CheckstyleResults

public class CheckstyleResults
extends Object

Object holding the references to the CheckstyleResults.

Version:
$Id: CheckstyleResults.html 938569 2015-02-01 15:55:48Z dennisl $
Author:
Joakim Erdfelt

Constructor Summary
CheckstyleResults()
           
 
Method Summary
 Configuration getConfiguration()
           
 int getFileCount()
           
 Map<String,List<AuditEvent>> getFiles()
           
 List<AuditEvent> getFileViolations(String file)
           
 long getSeverityCount(List<AuditEvent> violations, SeverityLevel level)
           
 long getSeverityCount(SeverityLevel level)
           
 long getSeverityCount(String file, SeverityLevel level)
           
 void setConfiguration(Configuration configuration)
           
 void setFiles(Map<String,List<AuditEvent>> files)
           
 void setFileViolations(String file, List<AuditEvent> violations)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckstyleResults

public CheckstyleResults()
Method Detail

getFileViolations

public List<AuditEvent> getFileViolations(String file)

setFileViolations

public void setFileViolations(String file,
                              List<AuditEvent> violations)

getFiles

public Map<String,List<AuditEvent>> getFiles()

setFiles

public void setFiles(Map<String,List<AuditEvent>> files)

getFileCount

public int getFileCount()

getSeverityCount

public long getSeverityCount(SeverityLevel level)

getSeverityCount

public long getSeverityCount(String file,
                             SeverityLevel level)

getSeverityCount

public long getSeverityCount(List<AuditEvent> violations,
                             SeverityLevel level)

getConfiguration

public Configuration getConfiguration()

setConfiguration

public void setConfiguration(Configuration configuration)


Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.