hudson.matrix
Interface MatrixAggregatable

All Superinterfaces:
ExtensionPoint
All Known Implementing Classes:
JUnitResultArchiver

public interface MatrixAggregatable
extends ExtensionPoint

Publisher can optionally implement this interface to perform result aggregation across MatrixRun.

This is useful for example to aggregate all the test results in MatrixRun into a single table/graph.

Since:
1.115
Author:
Kohsuke Kawaguchi

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Method Summary
 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


Copyright © 2004-2013 Hudson. All Rights Reserved.