public abstract class ConditionalExecutionStrategy extends AbstractDescribableImpl<ConditionalExecutionStrategy> implements ExtensionPoint
Modifier and Type | Class and Description |
---|---|
static class |
ConditionalExecutionStrategy.AggregatorContext
Carries parameters from
ConditionalPublisher to run aggregators. |
static class |
ConditionalExecutionStrategy.PublisherContext
Carries parameters from
ConditionalPublisher to run publishers. |
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
ConditionalExecutionStrategy() |
getDescriptor
public abstract boolean prebuild(ConditionalExecutionStrategy.PublisherContext context, AbstractBuild<?,?> build, BuildListener listener)
BuildStep.prebuild(AbstractBuild, BuildListener)
for all publishers.context
- build
- listener
- public abstract boolean perform(ConditionalExecutionStrategy.PublisherContext context, AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException
BuildStep.perform(AbstractBuild, Launcher, BuildListener)
for all publishes.context
- build
- launcher
- listener
- InterruptedException
IOException
public abstract boolean matrixAggregationStartBuild(ConditionalExecutionStrategy.AggregatorContext aggregatorContext) throws InterruptedException, IOException
MatrixAggregator.startBuild()
for all publishes.aggregatorContext
- InterruptedException
IOException
public abstract boolean matrixAggregationEndRun(ConditionalExecutionStrategy.AggregatorContext aggregatorContext, hudson.matrix.MatrixRun run) throws InterruptedException, IOException
MatrixAggregator.endRun(MatrixRun)
for all publishes.aggregatorContext
- run
- InterruptedException
IOException
public abstract boolean matrixAggregationEndBuild(ConditionalExecutionStrategy.AggregatorContext aggregatorContext) throws InterruptedException, IOException
MatrixAggregator.endBuild()
for all publishes.aggregatorContext
- InterruptedException
IOException
public static DescriptorExtensionList<ConditionalExecutionStrategy,Descriptor<ConditionalExecutionStrategy>> all()
Copyright © 2016–2021. All rights reserved.