Package com.atlassian.bamboo.plan
Class PlanExecutionLaunchControlImpl.ExecutionRequestEntry
java.lang.Object
com.atlassian.bamboo.plan.PlanExecutionLaunchControlImpl.ExecutionRequestEntry
- Enclosing class:
- PlanExecutionLaunchControlImpl
-
Field Summary
-
Constructor Summary
ConstructorDescriptionExecutionRequestEntry
(@NotNull Consumer<PlanExecutionLaunchControl.ReleaseLocksActions> runnableBody, int numberOfNeededLocks, int numberOfInitiallyAcquiredLocks, @NotNull Set<Long> repositoriesIds) -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
run
(@NotNull Function<Set<Long>, PlanExecutionLaunchControl.ReleaseLocksActions> createReleaseLocksAction)
-
Field Details
-
numberOfNeededLocks
public final int numberOfNeededLocks -
repositoriesIds
-
-
Constructor Details
-
ExecutionRequestEntry
public ExecutionRequestEntry(@NotNull @NotNull Consumer<PlanExecutionLaunchControl.ReleaseLocksActions> runnableBody, int numberOfNeededLocks, int numberOfInitiallyAcquiredLocks, @NotNull @NotNull Set<Long> repositoriesIds)
-
-
Method Details
-
incrementNumberOfAlreadyHeldLocksAndTellIfHasAllNeeded
public boolean incrementNumberOfAlreadyHeldLocksAndTellIfHasAllNeeded() -
run
public void run(@NotNull @NotNull Function<Set<Long>, PlanExecutionLaunchControl.ReleaseLocksActions> createReleaseLocksAction)
-