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