hudson.plugins.findbugs
Class FindBugsAnnotationsAggregator

java.lang.Object
  extended by hudson.matrix.MatrixAggregator
      extended by hudson.plugins.analysis.core.AnnotationsAggregator
          extended by hudson.plugins.findbugs.FindBugsAnnotationsAggregator
All Implemented Interfaces:
hudson.ExtensionPoint

public class FindBugsAnnotationsAggregator
extends hudson.plugins.analysis.core.AnnotationsAggregator

Aggregates FindBugsResultActions of MatrixRuns into MatrixBuild.

Author:
Ulli Hafner

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.matrix.MatrixAggregator
build, launcher, listener
 
Constructor Summary
FindBugsAnnotationsAggregator(hudson.matrix.MatrixBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener, hudson.plugins.analysis.core.HealthDescriptor healthDescriptor, String defaultEncoding)
          Creates a new instance of FindBugsAnnotationsAggregator.
 
Method Summary
protected  hudson.model.Action createAction(hudson.plugins.analysis.core.HealthDescriptor healthDescriptor, String defaultEncoding, hudson.plugins.analysis.core.ParserResult aggregatedResult)
           
protected  FindBugsResult getResult(hudson.matrix.MatrixRun run)
           
protected  boolean hasResult(hudson.matrix.MatrixRun run)
           
 
Methods inherited from class hudson.plugins.analysis.core.AnnotationsAggregator
endBuild, endRun
 
Methods inherited from class hudson.matrix.MatrixAggregator
startBuild
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindBugsAnnotationsAggregator

public FindBugsAnnotationsAggregator(hudson.matrix.MatrixBuild build,
                                     hudson.Launcher launcher,
                                     hudson.model.BuildListener listener,
                                     hudson.plugins.analysis.core.HealthDescriptor healthDescriptor,
                                     String defaultEncoding)
Creates a new instance of FindBugsAnnotationsAggregator.

Parameters:
build - the matrix build
launcher - the launcher
listener - the build listener
healthDescriptor - health descriptor
defaultEncoding - the default encoding to be used when reading and parsing files
Method Detail

createAction

protected hudson.model.Action createAction(hudson.plugins.analysis.core.HealthDescriptor healthDescriptor,
                                           String defaultEncoding,
                                           hudson.plugins.analysis.core.ParserResult aggregatedResult)
Specified by:
createAction in class hudson.plugins.analysis.core.AnnotationsAggregator

hasResult

protected boolean hasResult(hudson.matrix.MatrixRun run)
Overrides:
hasResult in class hudson.plugins.analysis.core.AnnotationsAggregator

getResult

protected FindBugsResult getResult(hudson.matrix.MatrixRun run)
Specified by:
getResult in class hudson.plugins.analysis.core.AnnotationsAggregator


Copyright © 2004-2012 Hudson. All Rights Reserved.