Class PmdResult
- java.lang.Object
-
- org.apache.maven.plugins.pmd.exec.PmdResult
-
public class PmdResult extends java.lang.Object
Provides access to the result of the pmd analysis.
-
-
Constructor Summary
Constructors Constructor Description PmdResult(java.io.File pmdFile, java.lang.String encoding)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<ProcessingError>
getErrors()
java.util.Collection<Violation>
getViolations()
boolean
hasViolations()
-
-
-
Field Detail
-
EMPTY
public static final PmdResult EMPTY
-
-
Constructor Detail
-
PmdResult
public PmdResult(java.io.File pmdFile, java.lang.String encoding) throws MavenReportException
- Throws:
MavenReportException
-
-
Method Detail
-
hasViolations
public boolean hasViolations()
-
getViolations
public java.util.Collection<Violation> getViolations()
-
getErrors
public java.util.Collection<ProcessingError> getErrors()
-
-