hudson.matrix
Class DefaultMatrixExecutionStrategyImpl
java.lang.Object
hudson.model.AbstractDescribableImpl<MatrixExecutionStrategy>
hudson.matrix.MatrixExecutionStrategy
hudson.matrix.DefaultMatrixExecutionStrategyImpl
- All Implemented Interfaces:
- ExtensionPoint, Describable<MatrixExecutionStrategy>
public class DefaultMatrixExecutionStrategyImpl
- extends MatrixExecutionStrategy
MatrixExecutionStrategy
that captures historical behavior.
This class is somewhat complex because historically this wasn't an extension point and so
people tried to put various logics that cover different use cases into one place.
Going forward, people are encouraged to create subtypes to implement a custom logic that suits their needs.
- Since:
- 1.456
- Author:
- Kohsuke Kawaguchi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultMatrixExecutionStrategyImpl
@DataBoundConstructor
public DefaultMatrixExecutionStrategyImpl(Boolean runSequentially,
boolean hasTouchStoneCombinationFilter,
String touchStoneCombinationFilter,
Result touchStoneResultCondition,
MatrixConfigurationSorter sorter)
DefaultMatrixExecutionStrategyImpl
public DefaultMatrixExecutionStrategyImpl(boolean runSequentially,
String touchStoneCombinationFilter,
Result touchStoneResultCondition,
MatrixConfigurationSorter sorter)
DefaultMatrixExecutionStrategyImpl
public DefaultMatrixExecutionStrategyImpl()
getHasTouchStoneCombinationFilter
public boolean getHasTouchStoneCombinationFilter()
isRunSequentially
public boolean isRunSequentially()
- If true,
MatrixRun
s are run sequentially, instead of running in parallel.
TODO: this should be subsumed by ResourceController
.
setRunSequentially
public void setRunSequentially(boolean runSequentially)
getTouchStoneCombinationFilter
public String getTouchStoneCombinationFilter()
setTouchStoneCombinationFilter
public void setTouchStoneCombinationFilter(String touchStoneCombinationFilter)
getTouchStoneResultCondition
public Result getTouchStoneResultCondition()
setTouchStoneResultCondition
public void setTouchStoneResultCondition(Result touchStoneResultCondition)
getSorter
public MatrixConfigurationSorter getSorter()
setSorter
public void setSorter(MatrixConfigurationSorter sorter)
run
public Result run(MatrixBuild.MatrixBuildExecution execution)
throws InterruptedException,
IOException
- Overrides:
run
in class MatrixExecutionStrategy
- Throws:
InterruptedException
IOException
Copyright © 2004-2013. All Rights Reserved.