org.jenkinsci.plugins.android_lint
Class LintAnnotationsAggregator

java.lang.Object
  extended by hudson.matrix.MatrixAggregator
      extended by hudson.plugins.analysis.core.AnnotationsAggregator
          extended by org.jenkinsci.plugins.android_lint.LintAnnotationsAggregator
All Implemented Interfaces:
hudson.ExtensionPoint

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

Aggregates LintResultActions of MatrixRuns into MatrixBuild.


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
LintAnnotationsAggregator(hudson.matrix.MatrixBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener, hudson.plugins.analysis.core.HealthDescriptor healthDescriptor, String defaultEncoding)
          Constructor.
 
Method Summary
protected  hudson.model.Action createAction(hudson.plugins.analysis.core.HealthDescriptor healthDescriptor, String defaultEncoding, hudson.plugins.analysis.core.ParserResult aggregatedResult)
           
protected  LintResult 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

LintAnnotationsAggregator

public LintAnnotationsAggregator(hudson.matrix.MatrixBuild build,
                                 hudson.Launcher launcher,
                                 hudson.model.BuildListener listener,
                                 hudson.plugins.analysis.core.HealthDescriptor healthDescriptor,
                                 String defaultEncoding)
Constructor.

Parameters:
build - The matrix build.
launcher - Launcher.
listener - Build listener.
healthDescriptor - Health descriptor.
defaultEncoding - Default encoding to be used when reading 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 LintResult getResult(hudson.matrix.MatrixRun run)
Specified by:
getResult in class hudson.plugins.analysis.core.AnnotationsAggregator


Copyright © 2004-2013. All Rights Reserved.