Package com.atlassian.bamboo.plan
Interface ExecutionStatusProvider
-
- All Known Subinterfaces:
PlanExecutionManager
- All Known Implementing Classes:
DelegatingPlanExecutionManager,ExecutionStatusProviderImpl,PlanExecutionManagerImpl
@Internal public interface ExecutionStatusProviderProvider ofExecutionStatuss 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 currentExecutionStatuss forPlanKey@Nullable ExecutionStatusgetExecutionStatus(@NotNull PlanResultKey planResultKey)Returns aExecutionStatusfor the givenPlanResultKey@Nullable BuildExecutiongetJobExecution(@NotNull PlanResultKey planResultKey)Get the state of a single Job being executedintnumberOfExecutions(@NotNull PlanKey planKey)Returns the number of currentExecutionStatuss available forPlanKey
-
-
-
Method Detail
-
numberOfExecutions
int numberOfExecutions(@NotNull @NotNull PlanKey planKey)Returns the number of currentExecutionStatuss available forPlanKey- Parameters:
planKey-- Returns:
- noOfExecutions
-
getExecutionStatus
@NotNull @NotNull Collection<? extends ExecutionStatus> getExecutionStatus(@NotNull @NotNull PlanKey planKey)
Returns a collection of currentExecutionStatuss forPlanKey- Parameters:
planKey-- Returns:
- executionStatuses
-
getExecutionStatus
@Nullable @Nullable ExecutionStatus getExecutionStatus(@NotNull @NotNull PlanResultKey planResultKey)
Returns aExecutionStatusfor 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:
-
-