org.apache.maven.plugin.checkstyle
Class CheckstyleResults

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

public class CheckstyleResults
extends Object

Object holding the references to the CheckstyleResults.

Version:
$Id: CheckstyleResults.java 942969 2010-05-11 00:32:30Z hboutemy $
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-2013 The Apache Software Foundation. All Rights Reserved.