org.apache.maven.plugin.checkstyle

Class CheckstyleResults

public class CheckstyleResults extends Object

Object holding the references to the CheckstyleResults.

Author: Joakim Erdfelt

UNKNOWN: provide fallback to disk based storage if too many results.

Constructor Summary
CheckstyleResults()
Method Summary
intgetFileCount()
MapgetFiles()
ListgetFileViolations(String file)
longgetSeverityCount(SeverityLevel level)
longgetSeverityCount(String file, SeverityLevel level)
longgetSeverityCount(List violations, SeverityLevel level)
voidsetFiles(Map files)
voidsetFileViolations(String file, List violations)

Constructor Detail

CheckstyleResults

public CheckstyleResults()

Method Detail

getFileCount

public int getFileCount()

getFiles

public Map getFiles()

getFileViolations

public List getFileViolations(String file)

getSeverityCount

public long getSeverityCount(SeverityLevel level)

getSeverityCount

public long getSeverityCount(String file, SeverityLevel level)

getSeverityCount

public long getSeverityCount(List violations, SeverityLevel level)

setFiles

public void setFiles(Map files)

setFileViolations

public void setFileViolations(String file, List violations)
Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.