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