hudson.tasks.test
Class TestResultAggregator

java.lang.Object
  extended by hudson.matrix.MatrixAggregator
      extended by hudson.tasks.test.TestResultAggregator
All Implemented Interfaces:
ExtensionPoint

public class TestResultAggregator
extends MatrixAggregator

Aggregates AbstractTestResultActions of MatrixRuns into MatrixBuild.

Author:
Kohsuke Kawaguchi

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.matrix.MatrixAggregator
build, launcher, listener
 
Constructor Summary
TestResultAggregator(MatrixBuild build, Launcher launcher, BuildListener listener)
           
 
Method Summary
 boolean endRun(MatrixRun run)
          Called whenever one run is completed.
 boolean startBuild()
          Called before the build starts.
 
Methods inherited from class hudson.matrix.MatrixAggregator
endBuild
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestResultAggregator

public TestResultAggregator(MatrixBuild build,
                            Launcher launcher,
                            BuildListener listener)
Method Detail

startBuild

public boolean startBuild()
                   throws InterruptedException,
                          IOException
Description copied from class: MatrixAggregator
Called before the build starts.

Overrides:
startBuild in class MatrixAggregator
Returns:
true if the build can continue, false if there was an error and the build needs to be aborted.
Throws:
InterruptedException
IOException
See Also:
BuildStep#prebuild(Build,BuildListener)

endRun

public boolean endRun(MatrixRun run)
               throws InterruptedException,
                      IOException
Description copied from class: MatrixAggregator
Called whenever one run is completed.

Overrides:
endRun in class MatrixAggregator
Parameters:
run - The completed MatrixRun object. Always non-null.
Returns:
See MatrixAggregator.startBuild() for the return value semantics.
Throws:
InterruptedException
IOException


Copyright © 2004-2013. All Rights Reserved.