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