hudson.plugins.checkstyle
Class CheckStyleResultBuilder

java.lang.Object
  extended by hudson.plugins.checkstyle.CheckStyleResultBuilder

public class CheckStyleResultBuilder
extends java.lang.Object

Creates a new Checkstyle result based on the values of a previous build and the current project.

Author:
Ulli Hafner

Constructor Summary
CheckStyleResultBuilder()
           
 
Method Summary
 CheckStyleResult build(hudson.model.AbstractBuild<?,?> build, ParserResult result, java.lang.String defaultEncoding)
          Creates a result that persists the Checkstyle 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

CheckStyleResultBuilder

public CheckStyleResultBuilder()
Method Detail

build

public CheckStyleResult build(hudson.model.AbstractBuild<?,?> build,
                              ParserResult result,
                              java.lang.String defaultEncoding)
Creates a result that persists the Checkstyle 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.