com.sonyericsson.jenkins.plugins.bfa
Class FailureCauseMatrixAggregator

java.lang.Object
  extended by hudson.matrix.MatrixAggregator
      extended by com.sonyericsson.jenkins.plugins.bfa.FailureCauseMatrixAggregator
All Implemented Interfaces:
hudson.ExtensionPoint

public class FailureCauseMatrixAggregator
extends hudson.matrix.MatrixAggregator

Aggregates the failure causes from downstream builds to the parent build.

Author:
Tomas Westling <thomas.westling@sonyericsson.com>

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
FailureCauseMatrixAggregator(hudson.matrix.MatrixBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener)
          Standard constructor.
 
Method Summary
 boolean endBuild()
           
static List<hudson.matrix.MatrixRun> getRuns(hudson.matrix.MatrixBuild matrixBuild)
          Gets the runs that has the same number as the build.
 
Methods inherited from class hudson.matrix.MatrixAggregator
endRun, startBuild
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FailureCauseMatrixAggregator

public FailureCauseMatrixAggregator(hudson.matrix.MatrixBuild build,
                                    hudson.Launcher launcher,
                                    hudson.model.BuildListener listener)
Standard constructor.

Parameters:
build - the MatrixBuild to aggregate FailureCauses for.
launcher - the launcher.
listener - the listener.
Method Detail

endBuild

public boolean endBuild()
Overrides:
endBuild in class hudson.matrix.MatrixAggregator

getRuns

public static List<hudson.matrix.MatrixRun> getRuns(hudson.matrix.MatrixBuild matrixBuild)
Gets the runs that has the same number as the build.

Parameters:
matrixBuild - the build.
Returns:
the list of runs.


Copyright © 2004-2014. All Rights Reserved.