hudson.plugins.pmd
Class PmdResultBuilder
java.lang.Object
hudson.plugins.pmd.PmdResultBuilder
public class PmdResultBuilder
- extends java.lang.Object
Creates a new PMD result based on the values of a previous build and the
current project.
- Author:
- Ulli Hafner
|
Method Summary |
PmdResult |
build(hudson.model.AbstractBuild<?,?> build,
ParserResult result,
java.lang.String defaultEncoding)
Creates a result that persists the PMD information for the
specified build. |
PmdMavenResult |
buildMaven(hudson.model.AbstractBuild<?,?> build,
ParserResult result,
java.lang.String defaultEncoding)
Creates a result that persists the PMD information for the
specified m2 build. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PmdResultBuilder
public PmdResultBuilder()
build
public PmdResult build(hudson.model.AbstractBuild<?,?> build,
ParserResult result,
java.lang.String defaultEncoding)
- Creates a result that persists the PMD information for the
specified build.
- Parameters:
build - the build to create the action forresult - the result containing the annotationsdefaultEncoding - the default encoding to be used when reading and parsing files
- Returns:
- the result action
buildMaven
public PmdMavenResult buildMaven(hudson.model.AbstractBuild<?,?> build,
ParserResult result,
java.lang.String defaultEncoding)
- Creates a result that persists the PMD information for the
specified m2 build.
- Parameters:
build - the build to create the action forresult - the result containing the annotationsdefaultEncoding - the default encoding to be used when reading and parsing files
- Returns:
- the result action
Copyright © 2009. All Rights Reserved.