hudson.plugins.checkstyle
Class CheckStyleAnnotationsAggregator

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

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

Aggregates CheckStyleResultActions 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
CheckStyleAnnotationsAggregator(hudson.matrix.MatrixBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener, hudson.plugins.analysis.core.HealthDescriptor healthDescriptor, java.lang.String defaultEncoding)
          Creates a new instance of CheckStyleAnnotationsAggregator.
 
Method Summary
protected  hudson.model.Action createAction(hudson.plugins.analysis.core.HealthDescriptor healthDescriptor, java.lang.String defaultEncoding, hudson.plugins.analysis.core.ParserResult aggregatedResult)
          
protected  CheckStyleResult getResult(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

CheckStyleAnnotationsAggregator

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

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,
                                           java.lang.String defaultEncoding,
                                           hudson.plugins.analysis.core.ParserResult aggregatedResult)

Specified by:
createAction in class hudson.plugins.analysis.core.AnnotationsAggregator

getResult

protected CheckStyleResult getResult(hudson.matrix.MatrixRun run)

Specified by:
getResult in class hudson.plugins.analysis.core.AnnotationsAggregator


Copyright © 2004-2011. All Rights Reserved.