Package com.atlassian.bamboo.plan
Class ExecutionStatusProviderImpl
- java.lang.Object
-
- com.atlassian.bamboo.plan.ExecutionStatusProviderImpl
-
- All Implemented Interfaces:
ExecutionStatusProvider
public class ExecutionStatusProviderImpl extends Object implements ExecutionStatusProvider
-
-
Constructor Summary
Constructors Constructor Description ExecutionStatusProviderImpl()
-
Method Summary
All Methods Instance Methods Concrete 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
public int numberOfExecutions(@NotNull @NotNull PlanKey planKey)Description copied from interface:ExecutionStatusProviderReturns the number of currentExecutionStatuss available forPlanKey- Specified by:
numberOfExecutionsin interfaceExecutionStatusProvider- 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- Returns:
- executionStatuses
-
getExecutionStatus
@Nullable public @Nullable ExecutionStatus getExecutionStatus(@NotNull @NotNull PlanResultKey planResultKey)
Description copied from interface:ExecutionStatusProviderReturns aExecutionStatusfor the givenPlanResultKey- Specified by:
getExecutionStatusin interfaceExecutionStatusProvider- 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- Returns:
-
-