org.mevenide.reports
Class PmdResult

java.lang.Object
  extended by org.mevenide.reports.PmdResult

public final class PmdResult
extends java.lang.Object

Class encapsulating the result of pmd report. Reads the raw pmd report and makes it accessible from code. Assumes the report file is present.

Author:
Milos Kleint (mkleint@codehaus.org)

Nested Class Summary
static class PmdResult.Violation
           
 
Constructor Summary
PmdResult(org.mevenide.context.IQueryContext con)
          Creates a new instance of PmdResult
 
Method Summary
 java.io.File[] getFiles()
           
 java.util.List getViolationsForFile(java.io.File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PmdResult

public PmdResult(org.mevenide.context.IQueryContext con)
Creates a new instance of PmdResult

Method Detail

getFiles

public java.io.File[] getFiles()

getViolationsForFile

public java.util.List getViolationsForFile(java.io.File file)


Copyright © 2003-2005 The Codehaus. All Rights Reserved.