|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.matrix.MatrixAggregator
public abstract class MatrixAggregator
Performs the aggregation of MatrixRun
results
into MatrixBuild
.
MatrixAggregator
is a transitive stateful mutable object.
Unlike Publisher
, it is not persisted. Instead, a fresh
instance is created for each MatrixBuild
, and various
methods on this class are invoked in the event callback style
as the build progresses.
The end result of the aggregation should be
contributed as actions
.
MatrixAggregatable
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
---|
ExtensionPoint.LegacyInstancesAreScopedToHudson |
Field Summary | |
---|---|
protected MatrixBuild |
build
The build in progress. |
protected Launcher |
launcher
|
protected BuildListener |
listener
The listener to send the output to. |
Constructor Summary | |
---|---|
protected |
MatrixAggregator(MatrixBuild build,
Launcher launcher,
BuildListener listener)
|
Method Summary | |
---|---|
boolean |
endBuild()
Called after all the MatrixRun s have been completed
to indicate that the build is about to finish. |
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 |
Field Detail |
---|
protected final MatrixBuild build
protected final Launcher launcher
protected final BuildListener listener
Constructor Detail |
---|
protected MatrixAggregator(MatrixBuild build, Launcher launcher, BuildListener listener)
Method Detail |
---|
public boolean startBuild() throws InterruptedException, IOException
InterruptedException
IOException
BuildStep#prebuild(Build,BuildListener)
public boolean endRun(MatrixRun run) throws InterruptedException, IOException
run
- The completed MatrixRun
object. Always non-null.
startBuild()
for the return value semantics.
InterruptedException
IOException
public boolean endBuild() throws InterruptedException, IOException
MatrixRun
s have been completed
to indicate that the build is about to finish.
startBuild()
for the return value semantics.
InterruptedException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |