@Internal
public interface PlanExecutionPermitter
ConcurrentBuildConfig
Modifier and Type | Method and Description |
---|---|
boolean |
isPermittedToExecute(ImmutableChain chain,
ErrorCollection errorCollection)
Checks a condition in order to determine if the plan can be executed.
|
boolean |
isPermittedToExecute(ImmutableChain chain,
PlanResultKey resultKey,
ErrorCollection errorCollection)
Checks a condition in order to determine if the plan can be executed.
|
void |
setChainedExecutionPermitter(PlanExecutionPermitter chainedExecutionPermitter) |
boolean isPermittedToExecute(@NotNull ImmutableChain chain, @NotNull ErrorCollection errorCollection)
isPermittedToExecute(ImmutableChain, PlanResultKey, ErrorCollection)
when build is restarted/continued.chain
- errorCollection
- boolean isPermittedToExecute(@NotNull ImmutableChain chain, @Nullable PlanResultKey resultKey, @NotNull ErrorCollection errorCollection)
chain
- resultKey
- key of a result, if it's restarted or continued builderrorCollection
- void setChainedExecutionPermitter(@Nullable PlanExecutionPermitter chainedExecutionPermitter)
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.