com.atlassian.bamboo.plan.branch
Class BranchIntegrationHelper

java.lang.Object
  extended by com.atlassian.bamboo.plan.branch.BranchIntegrationHelper

public class BranchIntegrationHelper
extends java.lang.Object


Nested Class Summary
static class BranchIntegrationHelper.MergeResult
           
 
Method Summary
 java.lang.String getAuthorEmail(Repository repository)
           
 java.lang.String getAuthorName(Repository repository)
           
 java.lang.String getCommitterEmail(Repository repository)
           
 java.lang.String getCommitterName(Repository repository)
           
 java.lang.String getIntegrationCommitMessage(Repository repository)
           
static ImmutableChain getIntegrationPlan(ImmutablePlanCacheService immutablePlanCacheService, BranchIntegrationConfiguration integrationConfiguration)
           
static BranchMergingAwareRepository getIntegrationRepository(BuildContext buildContext)
          Get integration repository narrowed to BranchMergingAwareRepository
static java.util.Map<java.lang.Long,RepositoryDefinition> getRepositoryDefinitionMap(ImmutablePlanCacheService immutablePlanCacheService, ImmutablePlan plan)
           
static BranchIntegrationHelper.MergeResult merge(BuildContext buildContext, java.io.File mergeDirectory, BuildLogger logger)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

merge

public static BranchIntegrationHelper.MergeResult merge(@NotNull
                                                        BuildContext buildContext,
                                                        @NotNull
                                                        java.io.File mergeDirectory,
                                                        @Nullable
                                                        BuildLogger logger)
                                                 throws RepositoryException
Throws:
RepositoryException

getIntegrationRepository

@NotNull
public static BranchMergingAwareRepository getIntegrationRepository(@NotNull
                                                                            BuildContext buildContext)
Get integration repository narrowed to BranchMergingAwareRepository

Parameters:
buildContext -
Returns:

getIntegrationPlan

@NotNull
public static ImmutableChain getIntegrationPlan(@NotNull
                                                        ImmutablePlanCacheService immutablePlanCacheService,
                                                        @NotNull
                                                        BranchIntegrationConfiguration integrationConfiguration)

getRepositoryDefinitionMap

public static java.util.Map<java.lang.Long,RepositoryDefinition> getRepositoryDefinitionMap(@NotNull
                                                                                            ImmutablePlanCacheService immutablePlanCacheService,
                                                                                            @NotNull
                                                                                            ImmutablePlan plan)

getAuthorName

@NotNull
public java.lang.String getAuthorName(@Nullable
                                              Repository repository)

getCommitterName

@NotNull
public java.lang.String getCommitterName(@Nullable
                                                 Repository repository)

getAuthorEmail

@NotNull
public java.lang.String getAuthorEmail(@Nullable
                                               Repository repository)

getCommitterEmail

@NotNull
public java.lang.String getCommitterEmail(@Nullable
                                                  Repository repository)

getIntegrationCommitMessage

public java.lang.String getIntegrationCommitMessage(@Nullable
                                                    Repository repository)


Copyright © 2012 Atlassian. All Rights Reserved.