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