public interface ChainExecutionAccessor
Modifier and Type | Method and Description |
---|---|
ChainExecution |
getChainExecution(PlanResultKey planResultKey)
Get the state of the single ChainExecution
|
List<ChainExecution> |
getExecutingChains(PlanKey planKey)
Get the Collection of the state of the ChainExecution or empty collection when no chain is executing
|
BuildExecution |
getJobExecution(PlanResultKey planResultKey)
Get the state of a single Job being executed
|
boolean |
isActive(PlanKey planKey)
Checks if the
Chain is "active" ie being queued, or building |
boolean |
isExecuting(PlanKey planKey)
Checks if the Chain is building
|
boolean |
isExecuting(PlanResultKey planResultKey)
Checks of
BuildResultsSummary represented by PlanResultKey is currently building (ie started on an agent_ |
void |
logChainExecutionState()
Log active
ChainExecution s |
int |
numberOfChainsExecuting() |
int |
numberOfChainsExecuting(PlanKey planKey)
Determines the number of
ChainExecution s are active for the given PlanKey |
boolean isActive(@NotNull PlanKey planKey)
Chain
is "active" ie being queued, or buildingplanKey
- boolean isExecuting(@NotNull PlanKey planKey)
planKey
- boolean isExecuting(@NotNull PlanResultKey planResultKey)
BuildResultsSummary
represented by PlanResultKey
is currently building (ie started on an agent_planResultKey
- @NotNull List<ChainExecution> getExecutingChains(@NotNull PlanKey planKey)
planKey
- @Nullable ChainExecution getChainExecution(@NotNull PlanResultKey planResultKey)
planResultKey
- @Nullable BuildExecution getJobExecution(@NotNull PlanResultKey planResultKey)
planResultKey
- int numberOfChainsExecuting(@NotNull PlanKey planKey)
ChainExecution
s are active for the given PlanKey
planKey
- int numberOfChainsExecuting()
ChainExecution
svoid logChainExecutionState()
ChainExecution
sCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.