Package com.atlassian.bamboo.plan
Interface ExecutionStatusProvider
-
- All Known Subinterfaces:
PlanExecutionManager
- All Known Implementing Classes:
DelegatingPlanExecutionManager
,ExecutionStatusProviderImpl
,PlanExecutionManagerImpl
@Internal public interface ExecutionStatusProvider
Provider ofExecutionStatus
s Not to be used directly. Please usePlanExecutionManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @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 Detail
-
numberOfExecutions
int numberOfExecutions(@NotNull @NotNull PlanKey planKey)
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
@Nullable @Nullable BuildExecution getJobExecution(@NotNull @NotNull PlanResultKey planResultKey)
Get the state of a single Job being executed- Parameters:
planResultKey
-- Returns:
-
-