public class DecoratedNavObjectFactoryImpl extends Object implements DecoratedNavObjectFactory
| Constructor and Description |
|---|
DecoratedNavObjectFactoryImpl(CachedPlanManager cachedPlanManager,
com.opensymphony.xwork2.TextProvider textProvider,
CustomVariableContext customVariableContext,
com.atlassian.bamboo.deployments.projects.service.DeploymentProjectService deploymentProjectService,
PlanExecutionManager planExecutionManager) |
| Modifier and Type | Method and Description |
|---|---|
@Nullable DecoratedPlan |
decoratePlan(@NotNull ImmutablePlan possiblyMutablePlan)
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)
Returns a list of branches associated with the master.
|
com.google.common.collect.ImmutableList<DecoratedPlan.DecoratedPlanBranchGist> |
getDecoratedChainBranchIdentifiers(@NotNull 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(@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.
|
public DecoratedNavObjectFactoryImpl(CachedPlanManager cachedPlanManager, com.opensymphony.xwork2.TextProvider textProvider, CustomVariableContext customVariableContext, com.atlassian.bamboo.deployments.projects.service.DeploymentProjectService deploymentProjectService, PlanExecutionManager planExecutionManager)
@Nullable public @Nullable DecoratedPlan decoratePlan(@NotNull @NotNull ImmutablePlan possiblyMutablePlan)
DecoratedNavObjectFactorydecoratePlan in interface DecoratedNavObjectFactorypossiblyMutablePlan - Plan to be decoratedDecoratedPlan objectpublic com.google.common.base.Function<ImmutableChainStage,DecoratedStage> getStageDecorator(@NotNull @NotNull DecoratedPlan parent)
DecoratedNavObjectFactorygetStageDecorator in interface DecoratedNavObjectFactoryparent - DecoratedPlan object that was created from a chainpublic com.google.common.base.Function<ChainStageResult,DecoratedStage> getStageResultDecorator(@NotNull @NotNull DecoratedPlan parent)
getStageResultDecorator in interface DecoratedNavObjectFactorypublic com.google.common.collect.ImmutableList<DecoratedPlan> getDecoratedChainBranches(@NotNull @NotNull DecoratedPlan master)
DecoratedNavObjectFactorygetDecoratedChainBranches in interface DecoratedNavObjectFactorypublic com.google.common.collect.ImmutableList<DecoratedPlan.DecoratedPlanBranchGist> getDecoratedChainBranchIdentifiers(@NotNull @NotNull DecoratedPlan master)
DecoratedNavObjectFactorygetDecoratedChainBranchIdentifiers in interface DecoratedNavObjectFactorypublic DecoratedPlan getDecoratedPlan(ChainResultsSummary resultSummary)
DecoratedNavObjectFactorygetDecoratedPlan in interface DecoratedNavObjectFactoryresultSummary - a chain result summary.@Nullable public @Nullable String getSubstitutedBranchName(@NotNull @NotNull ImmutableChain chain)
DecoratedNavObjectFactorygetSubstitutedBranchName in interface DecoratedNavObjectFactory@NotNull public @NotNull DecoratedResult decorateResult(ResultsSummary summary)
DecoratedNavObjectFactorydecorateResult in interface DecoratedNavObjectFactoryCopyright © 2025 Atlassian Software Systems Pty Ltd. All rights reserved.