Package com.atlassian.bamboo.plan
Class ExecutionStatusProviderImpl
java.lang.Object
com.atlassian.bamboo.plan.ExecutionStatusProviderImpl
- All Implemented Interfaces:
ExecutionStatusProvider
-
Constructor Summary
-
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
-
Constructor Details
-
ExecutionStatusProviderImpl
public ExecutionStatusProviderImpl()
-
-
Method Details
-
numberOfExecutions
Description copied from interface:ExecutionStatusProvider
Returns the number of currentExecutionStatus
s available forPlanKey
- Specified by:
numberOfExecutions
in interfaceExecutionStatusProvider
- Returns:
- noOfExecutions
-
getExecutionStatus
@NotNull public @NotNull Collection<? extends ExecutionStatus> getExecutionStatus(@NotNull @NotNull PlanKey planKey) Description copied from interface:ExecutionStatusProvider
Returns a collection of currentExecutionStatus
s forPlanKey
- Specified by:
getExecutionStatus
in interfaceExecutionStatusProvider
- Returns:
- executionStatuses
-
getExecutionStatus
@Nullable public @Nullable ExecutionStatus getExecutionStatus(@NotNull @NotNull PlanResultKey planResultKey) Description copied from interface:ExecutionStatusProvider
Returns aExecutionStatus
for the givenPlanResultKey
- Specified by:
getExecutionStatus
in interfaceExecutionStatusProvider
- Returns:
- executionStatus
-
getJobExecution
@Nullable public @Nullable BuildExecution getJobExecution(@NotNull @NotNull PlanResultKey planResultKey) Description copied from interface:ExecutionStatusProvider
Get the state of a single Job being executed- Specified by:
getJobExecution
in interfaceExecutionStatusProvider
- Returns:
-