hudson.plugins.pmd
Class PmdResultBuilder

java.lang.Object
  extended by 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

Constructor Summary
PmdResultBuilder()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PmdResultBuilder

public PmdResultBuilder()
Method Detail

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 for
result - the result containing the annotations
defaultEncoding - the default encoding to be used when reading and parsing files
Returns:
the result action


Copyright © 2008. All Rights Reserved.