Package hudson.matrix
Interface MatrixAggregatable
-
- All Superinterfaces:
ExtensionPoint
public interface MatrixAggregatable extends ExtensionPoint
Publisher
,JobProperty
,BuildWrapper
can optionally implement this interface to perform result aggregation acrossMatrixRun
.This is useful for example to aggregate all the test results in
MatrixRun
into a single table/graph.You may also register singleton implementations of this interface as
Extension
s. Rather than forcing publishers and the like to implement this interface, the singleton can perform any logic it needs for result aggregation on a given build.- Since:
- 1.115
- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MatrixAggregator
createAggregator(MatrixBuild build, Launcher launcher, BuildListener listener)
Creates a new instance of the aggregator.
-
-
-
Method Detail
-
createAggregator
MatrixAggregator createAggregator(MatrixBuild build, Launcher launcher, BuildListener listener)
Creates a new instance of the aggregator.This method is called during the build of
MatrixBuild
and the created aggregator will perform the aggregation.- Parameters:
build
- The build for which the aggregation shall happen. Never null.launcher
- Can be used to launch processes during the build.listener
- Progress report and errors during the aggregation should be sent to this object. Never null.- Returns:
- null if the implementation is not willing to contribute an aggregator.
- See Also:
MatrixAggregator.build
,MatrixAggregator.listener
-
-