@Internal public abstract class AbstractPlanExecutionPermitter extends Object implements PlanExecutionPermitter
| Constructor and Description |
|---|
AbstractPlanExecutionPermitter() |
| 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.
|
protected abstract boolean |
isPermittedToExecuteImpl(ImmutableChain chain,
PlanResultKey resultKey,
ErrorCollection errorCollection) |
void |
setChainedExecutionPermitter(PlanExecutionPermitter chainedExecutionPermitter) |
public boolean isPermittedToExecute(@NotNull
ImmutableChain chain,
@NotNull
ErrorCollection errorCollection)
PlanExecutionPermitterPlanExecutionPermitter.isPermittedToExecute(ImmutableChain, PlanResultKey, ErrorCollection) when build is restarted/continued.isPermittedToExecute in interface PlanExecutionPermitterpublic boolean isPermittedToExecute(@NotNull
ImmutableChain chain,
@Nullable
PlanResultKey resultKey,
@NotNull
ErrorCollection errorCollection)
PlanExecutionPermitterisPermittedToExecute in interface PlanExecutionPermitterresultKey - key of a result, if it's restarted or continued buildpublic void setChainedExecutionPermitter(PlanExecutionPermitter chainedExecutionPermitter)
setChainedExecutionPermitter in interface PlanExecutionPermitterprotected abstract boolean isPermittedToExecuteImpl(@NotNull
ImmutableChain chain,
@Nullable
PlanResultKey resultKey,
@NotNull
ErrorCollection errorCollection)
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.