public interface DecoratedNavObjectFactory
Modifier and Type | Method and Description |
---|---|
@Nullable DecoratedPlan |
decoratePlan(@NotNull ImmutablePlan plan)
Decorate plan
|
@NotNull DecoratedResult |
decorateResult(ResultsSummary summary)
Gets the decorated result for the given result summary, including
the full object hierarchy around it, such as parent if it is a job
summary, and plan.
|
com.google.common.collect.ImmutableList<DecoratedPlan> |
getDecoratedChainBranches(@NotNull DecoratedPlan master)
Deprecated.
since 6.5 causes explosive cache refresh
|
com.google.common.collect.ImmutableList<DecoratedPlan.DecoratedPlanBranchGist> |
getDecoratedChainBranchIdentifiers(@NotNull DecoratedPlan master)
Returns a list of branches associated with the master.
|
@NotNull DecoratedPlan |
getDecoratedPlan(ChainResultsSummary resultSummary)
Gets the decorated plan for the given result summary.
|
com.google.common.base.Function<ImmutableChainStage,DecoratedStage> |
getStageDecorator(@NotNull DecoratedPlan parent)
Return a function that could be used to decorate stages
|
com.google.common.base.Function<ChainStageResult,DecoratedStage> |
getStageResultDecorator(@NotNull DecoratedPlan parent) |
@Nullable String |
getSubstitutedBranchName(@NotNull ImmutableChain chain)
Gets the branch name from the default repository if the chain has one.
|
@Nullable @Nullable DecoratedPlan decoratePlan(@NotNull @NotNull ImmutablePlan plan)
plan
- Plan
to be decoratedDecoratedPlan
objectcom.google.common.base.Function<ImmutableChainStage,DecoratedStage> getStageDecorator(@NotNull @NotNull DecoratedPlan parent)
parent
- DecoratedPlan
object that was created from a chaincom.google.common.base.Function<ChainStageResult,DecoratedStage> getStageResultDecorator(@NotNull @NotNull DecoratedPlan parent)
@Deprecated com.google.common.collect.ImmutableList<DecoratedPlan> getDecoratedChainBranches(@NotNull @NotNull DecoratedPlan master)
com.google.common.collect.ImmutableList<DecoratedPlan.DecoratedPlanBranchGist> getDecoratedChainBranchIdentifiers(@NotNull @NotNull DecoratedPlan master)
@NotNull @NotNull DecoratedPlan getDecoratedPlan(ChainResultsSummary resultSummary)
resultSummary
- a chain result summary.IllegalStateException
- if the plan cannot be found@Nullable @Nullable String getSubstitutedBranchName(@NotNull @NotNull ImmutableChain chain)
@NotNull @NotNull DecoratedResult decorateResult(ResultsSummary summary)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.