com.atlassian.bamboo.chains
Class BuildContextFactoryImpl

java.lang.Object
  extended by com.atlassian.bamboo.chains.BuildContextFactoryImpl
All Implemented Interfaces:
BuildContextFactory

public class BuildContextFactoryImpl
extends java.lang.Object
implements BuildContextFactory


Constructor Summary
BuildContextFactoryImpl(TriggerReasonManager triggerReasonManager, ChangeDetectionManager changeDetectionManager, ArtifactDefinitionManager artifactDefinitionManager, ArtifactSubscriptionManager artifactSubscriptionManager)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildContextFactoryImpl

public BuildContextFactoryImpl(TriggerReasonManager triggerReasonManager,
                               ChangeDetectionManager changeDetectionManager,
                               ArtifactDefinitionManager artifactDefinitionManager,
                               ArtifactSubscriptionManager artifactSubscriptionManager)
Method Detail

createBuildContextsForJobs

@NotNull
public java.util.Map<ChainStage,java.util.Map<Job,BuildContext>> createBuildContextsForJobs(@NotNull
                                                                                                    Chain chain,
                                                                                                    @NotNull
                                                                                                    BuildContext parentBuildContext)
                                                                                     throws RepositoryException
Description copied from interface: BuildContextFactory
Creates a BuildContext for each Job in the Chain

Specified by:
createBuildContextsForJobs in interface BuildContextFactory
parentBuildContext - - buildContext of the parent chain execution
Returns:
map of Job PlanKeys to their BuildContext
Throws:
RepositoryException - if change detection fails


Copyright © 2011 Atlassian. All Rights Reserved.