public class LegacyRepositoryConfigurationExporter extends LegacyVcsLocationConfigurator implements VcsRepositoryDataExporter<com.atlassian.bamboo.specs.api.builders.repository.AnyVcsRepository,com.atlassian.bamboo.specs.api.model.repository.AnyVcsRepositoryProperties>
LEGACY_XML
repositoryModuleDescriptor
Constructor and Description |
---|
LegacyRepositoryConfigurationExporter(RepositoryModuleDescriptor repositoryModuleDescriptor) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.bamboo.specs.api.builders.repository.AnyVcsRepository |
appendBranchData(com.atlassian.bamboo.specs.api.builders.repository.AnyVcsRepository builder,
VcsBranchDefinition vcsBranchDefinition)
Fill in the builder passed as the first argument with vcs branch data.
|
com.atlassian.bamboo.specs.api.builders.repository.AnyVcsRepository |
appendBranchDetectionOptions(com.atlassian.bamboo.specs.api.builders.repository.AnyVcsRepository builder,
VcsBranchDetectionOptions branchDetectionOptions)
Fill in the builder passed as the first argument with branch detection configuration.
|
com.atlassian.bamboo.specs.api.builders.repository.AnyVcsRepository |
appendChangeDetectionOptions(com.atlassian.bamboo.specs.api.builders.repository.AnyVcsRepository builder,
VcsChangeDetectionOptions changeDetectionOptions)
Fill in the builder passed as the first argument with change detection configuration.
|
com.atlassian.bamboo.specs.api.builders.repository.AnyVcsRepository |
appendLocationData(com.atlassian.bamboo.specs.api.builders.repository.AnyVcsRepository builder,
VcsLocationDefinition vcsLocationDefinition)
Fill in the builder passed as the first argument with vcs server data.
|
com.atlassian.bamboo.specs.api.builders.repository.AnyVcsRepository |
getEntityPropertiesBuilder(VcsRepositoryData repositoryData)
Create empty instance of a properties builder appropriate for the exported repository data.
|
Map<String,String> |
importBranchData(com.atlassian.bamboo.specs.api.model.repository.AnyVcsRepositoryProperties properties,
VcsBranchDefinition existingData)
Extract branch configuration from properties object.
|
Map<String,String> |
importBranchDetectionOptions(com.atlassian.bamboo.specs.api.model.repository.AnyVcsRepositoryProperties properties,
VcsBranchDetectionOptions existingData)
Extract branch detection configuration from properties object.
|
Map<String,String> |
importChangeDetectionOptions(com.atlassian.bamboo.specs.api.model.repository.AnyVcsRepositoryProperties properties,
VcsChangeDetectionOptions existingData)
Extract change detection configuration from properties object.
|
Map<String,String> |
importLocationData(com.atlassian.bamboo.specs.api.model.repository.AnyVcsRepositoryProperties properties,
VcsLocationDefinition existingData)
Extract vcs location configuration from properties object.
|
addDefaultsForAdvancedOptions, generateConfigMap, getLocationIdentifier, getRepositoryInstance, getScmType, getServerHost, getSharedCredentialsIds, populateContextForCreate, populateContextForEdit, populateContextForView, validate, validateForConnectionTesting
getNewRepositoryInstance, getNewRepositoryInstanceAs, getRepositoryInstance, getRepositoryInstanceAs, xmlToConfiguration
public LegacyRepositoryConfigurationExporter(RepositoryModuleDescriptor repositoryModuleDescriptor)
@NotNull public com.atlassian.bamboo.specs.api.builders.repository.AnyVcsRepository getEntityPropertiesBuilder(@NotNull VcsRepositoryData repositoryData)
VcsRepositoryDataExporter
getEntityPropertiesBuilder
in interface VcsRepositoryDataExporter<com.atlassian.bamboo.specs.api.builders.repository.AnyVcsRepository,com.atlassian.bamboo.specs.api.model.repository.AnyVcsRepositoryProperties>
@NotNull public com.atlassian.bamboo.specs.api.builders.repository.AnyVcsRepository appendLocationData(@NotNull com.atlassian.bamboo.specs.api.builders.repository.AnyVcsRepository builder, @NotNull VcsLocationDefinition vcsLocationDefinition)
VcsRepositoryDataExporter
appendLocationData
in interface VcsRepositoryDataExporter<com.atlassian.bamboo.specs.api.builders.repository.AnyVcsRepository,com.atlassian.bamboo.specs.api.model.repository.AnyVcsRepositoryProperties>
@NotNull public com.atlassian.bamboo.specs.api.builders.repository.AnyVcsRepository appendBranchData(@NotNull com.atlassian.bamboo.specs.api.builders.repository.AnyVcsRepository builder, @NotNull VcsBranchDefinition vcsBranchDefinition)
VcsRepositoryDataExporter
appendBranchData
in interface VcsRepositoryDataExporter<com.atlassian.bamboo.specs.api.builders.repository.AnyVcsRepository,com.atlassian.bamboo.specs.api.model.repository.AnyVcsRepositoryProperties>
@NotNull public com.atlassian.bamboo.specs.api.builders.repository.AnyVcsRepository appendChangeDetectionOptions(@NotNull com.atlassian.bamboo.specs.api.builders.repository.AnyVcsRepository builder, @NotNull VcsChangeDetectionOptions changeDetectionOptions)
VcsRepositoryDataExporter
appendChangeDetectionOptions
in interface VcsRepositoryDataExporter<com.atlassian.bamboo.specs.api.builders.repository.AnyVcsRepository,com.atlassian.bamboo.specs.api.model.repository.AnyVcsRepositoryProperties>
@NotNull public com.atlassian.bamboo.specs.api.builders.repository.AnyVcsRepository appendBranchDetectionOptions(@NotNull com.atlassian.bamboo.specs.api.builders.repository.AnyVcsRepository builder, @NotNull VcsBranchDetectionOptions branchDetectionOptions)
VcsRepositoryDataExporter
appendBranchDetectionOptions
in interface VcsRepositoryDataExporter<com.atlassian.bamboo.specs.api.builders.repository.AnyVcsRepository,com.atlassian.bamboo.specs.api.model.repository.AnyVcsRepositoryProperties>
@NotNull public Map<String,String> importLocationData(@NotNull com.atlassian.bamboo.specs.api.model.repository.AnyVcsRepositoryProperties properties, @Nullable VcsLocationDefinition existingData)
VcsRepositoryDataExporter
importLocationData
in interface VcsRepositoryDataExporter<com.atlassian.bamboo.specs.api.builders.repository.AnyVcsRepository,com.atlassian.bamboo.specs.api.model.repository.AnyVcsRepositoryProperties>
@NotNull public Map<String,String> importBranchData(@NotNull com.atlassian.bamboo.specs.api.model.repository.AnyVcsRepositoryProperties properties, @Nullable VcsBranchDefinition existingData)
VcsRepositoryDataExporter
importBranchData
in interface VcsRepositoryDataExporter<com.atlassian.bamboo.specs.api.builders.repository.AnyVcsRepository,com.atlassian.bamboo.specs.api.model.repository.AnyVcsRepositoryProperties>
@Nullable public Map<String,String> importChangeDetectionOptions(@NotNull com.atlassian.bamboo.specs.api.model.repository.AnyVcsRepositoryProperties properties, @Nullable VcsChangeDetectionOptions existingData)
VcsRepositoryDataExporter
importChangeDetectionOptions
in interface VcsRepositoryDataExporter<com.atlassian.bamboo.specs.api.builders.repository.AnyVcsRepository,com.atlassian.bamboo.specs.api.model.repository.AnyVcsRepositoryProperties>
@NotNull public Map<String,String> importBranchDetectionOptions(@NotNull com.atlassian.bamboo.specs.api.model.repository.AnyVcsRepositoryProperties properties, @Nullable VcsBranchDetectionOptions existingData)
VcsRepositoryDataExporter
importBranchDetectionOptions
in interface VcsRepositoryDataExporter<com.atlassian.bamboo.specs.api.builders.repository.AnyVcsRepository,com.atlassian.bamboo.specs.api.model.repository.AnyVcsRepositoryProperties>
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.