com.atlassian.bamboo.chains
Interface BuildContextFactory

All Known Implementing Classes:
BuildContextFactoryImpl

public interface BuildContextFactory

Create a BuildContext given the ChainStage and Build


Method Summary
 java.util.Map<ChainStage,java.util.Map<Job,BuildContext>> createBuildContextsForJobs(Chain chain, BuildContext parentBuildContext)
          Creates a BuildContext for each Job in the Chain
 

Method Detail

createBuildContextsForJobs

@NotNull
java.util.Map<ChainStage,java.util.Map<Job,BuildContext>> createBuildContextsForJobs(@NotNull
                                                                                             Chain chain,
                                                                                             @NotNull
                                                                                             BuildContext parentBuildContext)
                                                                                     throws RepositoryException
Creates a BuildContext for each Job in the Chain

Parameters:
chain -
parentBuildContext - - buildContext of the parent chain execution
Returns:
map of Job PlanKeys to their BuildContext
Throws:
RepositoryException - if change detection fails


Copyright © 2010 Atlassian. All Rights Reserved.