hudson.tasks.test
Class TestResultAggregator
java.lang.Object
hudson.matrix.MatrixAggregator
hudson.tasks.test.TestResultAggregator
- All Implemented Interfaces:
- ExtensionPoint
public class TestResultAggregator
- extends MatrixAggregator
Aggregates AbstractTestResultAction
s of MatrixRun
s
into MatrixBuild
.
- Author:
- Kohsuke Kawaguchi
Method Summary |
boolean |
endRun(MatrixRun run)
Called whenever one run is completed. |
boolean |
startBuild()
Called before the build starts. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestResultAggregator
public TestResultAggregator(MatrixBuild build,
Launcher launcher,
BuildListener listener)
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.