Package com.atlassian.bamboo.plan
Interface ExecutionStatusProvider
- All Known Subinterfaces:
PlanExecutionManager
- All Known Implementing Classes:
DelegatingPlanExecutionManager,ExecutionStatusProviderImpl,PlanExecutionManagerImpl
@Internal
public interface ExecutionStatusProvider
Provider of
ExecutionStatuss
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 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 Details
-
numberOfExecutions
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
Get the state of a single Job being executed- Parameters:
planResultKey-- Returns:
-