com.atlassian.bamboo.repository.migration
Class RepositoryConfigurationConverter

java.lang.Object
  extended by com.atlassian.bamboo.repository.migration.RepositoryConfigurationConverter

@Internal
public class RepositoryConfigurationConverter
extends Object


Field Summary
static String CLEAN_CHECKOUT_PARAM
           
static String CLEAN_WORKING_DIRECTORY_PARAM
           
static String NULL_REPOSITORY_KEY
          Deprecated. since 5.5 use NullRepository.KEY for ui related activities.
 
Method Summary
static PlanRepositoryLinkImpl convertRepositoryConfigurationInPlan(Plan plan, BuildConfiguration buildConfiguration, PlanRepositoryLinkDao planRepositoryLinkDao)
           
static PlanRepositoryLinkImpl convertRepositoryConfigurationInPlan(Plan plan, BuildConfiguration buildConfiguration, RepositoryDefinitionManager repositoryDefinitionManager)
           
static long stripAndSaveRepositoryConfiguration(PlanRepositoryLink planRepository, PlanRepositoryLinkDao planRepositoryLinkDao, RepositoryDefinitionDao repositoryDefinitionDao, Plan plan)
           
static long stripAndSaveRepositoryConfiguration(PlanRepositoryLink planRepository, RepositoryDefinitionManager repositoryDefinitionManager, Plan plan)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL_REPOSITORY_KEY

@Deprecated
public static final String NULL_REPOSITORY_KEY
Deprecated. since 5.5 use NullRepository.KEY for ui related activities.
This is not key of the null repository as far as the UI is concerned. We do not store null Repositories in the backend any more.

See Also:
Constant Field Values

CLEAN_CHECKOUT_PARAM

public static final String CLEAN_CHECKOUT_PARAM
See Also:
Constant Field Values

CLEAN_WORKING_DIRECTORY_PARAM

public static final String CLEAN_WORKING_DIRECTORY_PARAM
See Also:
Constant Field Values
Method Detail

convertRepositoryConfigurationInPlan

@Nullable
public static PlanRepositoryLinkImpl convertRepositoryConfigurationInPlan(Plan plan,
                                                                                   BuildConfiguration buildConfiguration,
                                                                                   RepositoryDefinitionManager repositoryDefinitionManager)

convertRepositoryConfigurationInPlan

@Internal
@Nullable
public static PlanRepositoryLinkImpl convertRepositoryConfigurationInPlan(Plan plan,
                                                                                            BuildConfiguration buildConfiguration,
                                                                                            PlanRepositoryLinkDao planRepositoryLinkDao)

stripAndSaveRepositoryConfiguration

public static long stripAndSaveRepositoryConfiguration(@Nullable
                                                       PlanRepositoryLink planRepository,
                                                       @NotNull
                                                       RepositoryDefinitionManager repositoryDefinitionManager,
                                                       @NotNull
                                                       Plan plan)

stripAndSaveRepositoryConfiguration

@Internal
public static long stripAndSaveRepositoryConfiguration(@Nullable
                                                                PlanRepositoryLink planRepository,
                                                                @NotNull
                                                                PlanRepositoryLinkDao planRepositoryLinkDao,
                                                                @NotNull
                                                                RepositoryDefinitionDao repositoryDefinitionDao,
                                                                @NotNull
                                                                Plan plan)


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.