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