Package com.atlassian.bamboo.plan
Interface ExecutionStatusProvider
- All Known Subinterfaces:
PlanExecutionManager
- All Known Implementing Classes:
DelegatingPlanExecutionManager
,ExecutionStatusProviderImpl
,PlanExecutionManagerImpl
@Internal
public interface ExecutionStatusProvider
Provider of
ExecutionStatus
s
Not to be used directly. Please use PlanExecutionManager
-
Method Summary
Modifier and TypeMethodDescription@NotNull Collection<? extends ExecutionStatus>
getExecutionStatus
(@NotNull PlanKey planKey) Returns a collection of currentExecutionStatus
s forPlanKey
@Nullable ExecutionStatus
getExecutionStatus
(@NotNull PlanResultKey planResultKey) Returns aExecutionStatus
for the givenPlanResultKey
@Nullable BuildExecution
getJobExecution
(@NotNull PlanResultKey planResultKey) Get the state of a single Job being executedint
numberOfExecutions
(@NotNull PlanKey planKey) Returns the number of currentExecutionStatus
s available forPlanKey
-
Method Details
-
numberOfExecutions
Returns the number of currentExecutionStatus
s available forPlanKey
- Parameters:
planKey
-- Returns:
- noOfExecutions
-
getExecutionStatus
@NotNull @NotNull Collection<? extends ExecutionStatus> getExecutionStatus(@NotNull @NotNull PlanKey planKey) Returns a collection of currentExecutionStatus
s forPlanKey
- Parameters:
planKey
-- Returns:
- executionStatuses
-
getExecutionStatus
@Nullable @Nullable ExecutionStatus getExecutionStatus(@NotNull @NotNull PlanResultKey planResultKey) Returns aExecutionStatus
for the givenPlanResultKey
- Parameters:
planResultKey
-- Returns:
- executionStatus
-
getJobExecution
Get the state of a single Job being executed- Parameters:
planResultKey
-- Returns:
-