com.atlassian.bamboo.plan
Interface ExecutionStatusProvider

All Known Subinterfaces:
PlanExecutionManager
All Known Implementing Classes:
ExecutionStatusProviderImpl, PlanExecutionManagerImpl

public interface ExecutionStatusProvider

Provider of ExecutionStatuss Not to be used directly. Please use PlanExecutionManager


Method Summary
 java.util.Collection<? extends ExecutionStatus> getExecutionStatus(PlanKey planKey)
          Returns a collection of current ExecutionStatuss for PlanKey
 ExecutionStatus getExecutionStatus(PlanResultKey planResultKey)
          Returns a ExecutionStatus for the given PlanResultKey
 BuildExecution getJobExecution(PlanResultKey planResultKey)
          Get the state of a single Job being executed
 int numberOfExecutions(PlanKey planKey)
          Returns the number of current ExecutionStatuss available for PlanKey
 

Method Detail

numberOfExecutions

int numberOfExecutions(@NotNull
                       PlanKey planKey)
Returns the number of current ExecutionStatuss available for PlanKey

Parameters:
planKey -
Returns:
noOfExecutions

getExecutionStatus

@NotNull
java.util.Collection<? extends ExecutionStatus> getExecutionStatus(@NotNull
                                                                           PlanKey planKey)
Returns a collection of current ExecutionStatuss for PlanKey

Parameters:
planKey -
Returns:
executionStatuses

getExecutionStatus

@Nullable
ExecutionStatus getExecutionStatus(@NotNull
                                            PlanResultKey planResultKey)
Returns a ExecutionStatus for the given PlanResultKey

Parameters:
planResultKey -
Returns:
executionStatus

getJobExecution

@Nullable
BuildExecution getJobExecution(@NotNull
                                        PlanResultKey planResultKey)
Get the state of a single Job being executed

Parameters:
planResultKey -
Returns:


Copyright © 2012 Atlassian. All Rights Reserved.