com.atlassian.bamboo.ww2.beans
Interface DecoratedNavObjectFactory

All Known Implementing Classes:
DecoratedNavObjectFactoryImpl

public interface DecoratedNavObjectFactory


Method Summary
 DecoratedPlan decoratePlan(Plan plan)
          Decorate plan
 com.google.common.collect.ImmutableList<DecoratedPlan> getDecoratedChainBranches(DecoratedPlan master)
          Returns a list of branches associated with the master.
 com.google.common.base.Function<ChainStage,DecoratedStage> getStageDecorator(DecoratedPlan parent)
          Return a function that could be used to decorate stages
 

Method Detail

decoratePlan

@Nullable
DecoratedPlan decoratePlan(@NotNull
                                    Plan plan)
Decorate plan

Parameters:
plan - Plan to be decorated
Returns:
DecoratedPlan object

getStageDecorator

com.google.common.base.Function<ChainStage,DecoratedStage> getStageDecorator(@NotNull
                                                                             DecoratedPlan parent)
Return a function that could be used to decorate stages

Parameters:
parent - DecoratedPlan object that was created from a chain
Returns:
function object

getDecoratedChainBranches

com.google.common.collect.ImmutableList<DecoratedPlan> getDecoratedChainBranches(@NotNull
                                                                                 DecoratedPlan master)
Returns a list of branches associated with the master.

Parameters:
master -
Returns:
list of decorated branches for the Nav Object


Copyright © 2012 Atlassian. All Rights Reserved.