Class PlanExecutionLatch.Builder
- java.lang.Object
-
- com.atlassian.bamboo.testutils.backdoor.plans.PlanExecutionLatch.Builder
-
- Enclosing class:
- PlanExecutionLatch
public static class PlanExecutionLatch.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlanExecutionLatch
build()
PlanExecutionLatch.Builder
withImmediateExecutions(int... immediateExecutions)
Execute these builds immediately without waiting for aPlanExecutionLatch.releaseExecution(int)
PlanExecutionLatch.Builder
withTimeout(Duration timeout)
When build will finish because of timeout
-
-
-
Method Detail
-
withImmediateExecutions
public PlanExecutionLatch.Builder withImmediateExecutions(int... immediateExecutions)
Execute these builds immediately without waiting for aPlanExecutionLatch.releaseExecution(int)
- Parameters:
immediateExecutions
- build numbers starting from 1
-
withTimeout
public PlanExecutionLatch.Builder withTimeout(Duration timeout)
When build will finish because of timeout- Parameters:
timeout
- timeout after which build will finish
-
build
public PlanExecutionLatch build()
-
-