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