com.atlassian.bamboo.plan.branch
Class BranchIntegrationServiceImpl

java.lang.Object
  extended by com.atlassian.bamboo.plan.branch.BranchIntegrationServiceImpl
All Implemented Interfaces:
BranchIntegrationService

public class BranchIntegrationServiceImpl
extends java.lang.Object
implements BranchIntegrationService


Constructor Summary
BranchIntegrationServiceImpl(ImmutablePlanCacheService immutablePlanCacheService)
           
 
Method Summary
 ImmutableChain getIntegrationPlan(BranchIntegrationConfiguration integrationConfiguration)
          Get plan configured as merge to / merge from in branch configuration.
 java.util.Map<java.lang.Long,RepositoryDefinition> getRepositoryDefinitionMap(ImmutablePlan plan)
          Get repository definition map for a given plan and if Branch Integration was configured merge it with repository definition of branch selected in Integration Configuration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BranchIntegrationServiceImpl

public BranchIntegrationServiceImpl(ImmutablePlanCacheService immutablePlanCacheService)
Method Detail

getIntegrationPlan

@NotNull
public ImmutableChain getIntegrationPlan(@NotNull
                                                 BranchIntegrationConfiguration integrationConfiguration)
Description copied from interface: BranchIntegrationService
Get plan configured as merge to / merge from in branch configuration.

Specified by:
getIntegrationPlan in interface BranchIntegrationService
Returns:

getRepositoryDefinitionMap

@NotNull
public java.util.Map<java.lang.Long,RepositoryDefinition> getRepositoryDefinitionMap(@NotNull
                                                                                             ImmutablePlan plan)
Description copied from interface: BranchIntegrationService
Get repository definition map for a given plan and if Branch Integration was configured merge it with repository definition of branch selected in Integration Configuration

Specified by:
getRepositoryDefinitionMap in interface BranchIntegrationService
Returns:


Copyright © 2012 Atlassian. All Rights Reserved.