hudson.plugins.analysis.collector
Class AnalysisResultBuilder

java.lang.Object
  extended by hudson.plugins.analysis.collector.AnalysisResultBuilder

public class AnalysisResultBuilder
extends java.lang.Object

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

Author:
Ulli Hafner

Constructor Summary
AnalysisResultBuilder()
           
 
Method Summary
 AnalysisResult build(hudson.model.AbstractBuild<?,?> build, hudson.plugins.analysis.core.ParserResult result, java.lang.String defaultEncoding)
          Creates a result that persists the analysis 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

AnalysisResultBuilder

public AnalysisResultBuilder()
Method Detail

build

public AnalysisResult build(hudson.model.AbstractBuild<?,?> build,
                            hudson.plugins.analysis.core.ParserResult result,
                            java.lang.String defaultEncoding)
Creates a result that persists the analysis 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 © 2010. All Rights Reserved.