hudson.matrix
Class MatrixExecutionStrategy

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<MatrixExecutionStrategy>
      extended by hudson.matrix.MatrixExecutionStrategy
All Implemented Interfaces:
ExtensionPoint, Describable<MatrixExecutionStrategy>
Direct Known Subclasses:
DefaultMatrixExecutionStrategyImpl

public abstract class MatrixExecutionStrategy
extends AbstractDescribableImpl<MatrixExecutionStrategy>
implements ExtensionPoint

Controls the execution sequence of MatrixConfiguration when MatrixProject builds, including what degree it gets serialized/parallelled, how the whole build is abandoned when some fails, etc.

Author:
Kohsuke Kawaguchi

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
MatrixExecutionStrategy()
           
 
Method Summary
 MatrixExecutionStrategyDescriptor getDescriptor()
          Gets the descriptor for this instance.
 Result run(MatrixBuild.MatrixBuildExecution execution)
           
 Result run(MatrixBuild build, List<MatrixAggregator> aggregators, BuildListener listener)
          Deprecated. Override #run(MatrixBuildExecution)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatrixExecutionStrategy

public MatrixExecutionStrategy()
Method Detail

run

public Result run(MatrixBuild.MatrixBuildExecution execution)
           throws InterruptedException,
                  IOException
Throws:
InterruptedException
IOException

run

public Result run(MatrixBuild build,
                  List<MatrixAggregator> aggregators,
                  BuildListener listener)
           throws InterruptedException,
                  IOException
Deprecated. Override #run(MatrixBuildExecution)

Throws:
InterruptedException
IOException

getDescriptor

public MatrixExecutionStrategyDescriptor getDescriptor()
Description copied from interface: Describable
Gets the descriptor for this instance.

Descriptor is a singleton for every concrete Describable implementation, so if a.getClass()==b.getClass() then a.getDescriptor()==b.getDescriptor() must hold.

Specified by:
getDescriptor in interface Describable<MatrixExecutionStrategy>
Overrides:
getDescriptor in class AbstractDescribableImpl<MatrixExecutionStrategy>


Copyright © 2004-2013. All Rights Reserved.