Package hudson.tasks.test
Class TestResultAggregator
- java.lang.Object
-
- hudson.matrix.MatrixAggregator
-
- hudson.tasks.test.TestResultAggregator
-
- All Implemented Interfaces:
ExtensionPoint
public class TestResultAggregator extends MatrixAggregator
- 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
Constructors Constructor Description TestResultAggregator(MatrixBuild build, Launcher launcher, BuildListener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
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 classMatrixAggregator
- 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(AbstractBuild,BuildListener)
-
endRun
public boolean endRun(MatrixRun run) throws InterruptedException, IOException
Description copied from class:MatrixAggregator
Called whenever one run is completed.- Overrides:
endRun
in classMatrixAggregator
- Parameters:
run
- The completedMatrixRun
object. Always non-null.- Returns:
- See
MatrixAggregator.startBuild()
for the return value semantics. - Throws:
InterruptedException
IOException
-
-