hudson.plugins.dry
Class DryAnnotationsAggregator

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

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

Aggregates DryResultActions 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
DryAnnotationsAggregator(hudson.matrix.MatrixBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener, hudson.plugins.analysis.core.HealthDescriptor healthDescriptor, String defaultEncoding, boolean useStableBuildAsReference)
          Creates a new instance of DryAnnotationsAggregator.
 
Method Summary
protected  hudson.model.Action createAction(hudson.plugins.analysis.core.HealthDescriptor healthDescriptor, String defaultEncoding, hudson.plugins.analysis.core.ParserResult aggregatedResult)
           
protected  DryResult getResult(hudson.matrix.MatrixRun run)
           
protected  boolean hasResult(hudson.matrix.MatrixRun run)
           
 
Methods inherited from class hudson.plugins.analysis.core.AnnotationsAggregator
endBuild, endRun, useOnlyStableBuildsAsReference
 
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

DryAnnotationsAggregator

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

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
useStableBuildAsReference - determines whether only stable builds should be used as reference builds or not
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 DryResult getResult(hudson.matrix.MatrixRun run)
Specified by:
getResult in class hudson.plugins.analysis.core.AnnotationsAggregator


Copyright © 2004-2013 Hudson. All Rights Reserved.