public class ExecutionStatusProviderImpl extends Object implements ExecutionStatusProvider
Constructor and Description |
---|
ExecutionStatusProviderImpl() |
Modifier and Type | Method and Description |
---|---|
Collection<? extends ExecutionStatus> |
getExecutionStatus(PlanKey planKey)
Returns a collection of current
ExecutionStatus s 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
ExecutionStatus s available for PlanKey |
public int numberOfExecutions(@NotNull PlanKey planKey)
ExecutionStatusProvider
ExecutionStatus
s available for PlanKey
numberOfExecutions
in interface ExecutionStatusProvider
@NotNull public Collection<? extends ExecutionStatus> getExecutionStatus(@NotNull PlanKey planKey)
ExecutionStatusProvider
ExecutionStatus
s for PlanKey
getExecutionStatus
in interface ExecutionStatusProvider
@Nullable public ExecutionStatus getExecutionStatus(@NotNull PlanResultKey planResultKey)
ExecutionStatusProvider
ExecutionStatus
for the given PlanResultKey
getExecutionStatus
in interface ExecutionStatusProvider
@Nullable public BuildExecution getJobExecution(@NotNull PlanResultKey planResultKey)
ExecutionStatusProvider
getJobExecution
in interface ExecutionStatusProvider
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.