public class BitbucketCloudImporterExporter extends Object implements VcsRepositoryDataExporter<com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud.BitbucketCloudRepository,com.atlassian.bamboo.specs.model.repository.bitbucket.cloud.BitbucketCloudRepositoryProperties>
Constructor and Description |
---|
BitbucketCloudImporterExporter(BitbucketApiService bitbucketApiService,
SecretEncryptionService secretEncryptionService,
CredentialsAccessor credentialsAccessor) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud.BitbucketCloudRepository |
appendBranchData(com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud.BitbucketCloudRepository builder,
VcsBranchDefinition vcsBranchDefinition)
Fill in the builder passed as the first argument with vcs branch data.
|
com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud.BitbucketCloudRepository |
appendBranchDetectionOptions(com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud.BitbucketCloudRepository builder,
VcsBranchDetectionOptions branchDetectionOptions)
Fill in the builder passed as the first argument with branch detection configuration.
|
com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud.BitbucketCloudRepository |
appendChangeDetectionOptions(com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud.BitbucketCloudRepository builder,
VcsChangeDetectionOptions changeDetectionOptions)
Fill in the builder passed as the first argument with change detection configuration.
|
com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud.BitbucketCloudRepository |
appendLocationData(com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud.BitbucketCloudRepository builder,
VcsLocationDefinition vcsLocationDefinition)
Fill in the builder passed as the first argument with vcs server data.
|
com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud.BitbucketCloudRepository |
getEntityPropertiesBuilder(VcsRepositoryData repositoryData)
Create empty instance of a properties builder appropriate for the exported repository data.
|
Map<String,String> |
importBranchData(com.atlassian.bamboo.specs.model.repository.bitbucket.cloud.BitbucketCloudRepositoryProperties repositoryProperties,
VcsBranchDefinition existingData)
Extract branch configuration from properties object.
|
Map<String,String> |
importBranchDetectionOptions(com.atlassian.bamboo.specs.model.repository.bitbucket.cloud.BitbucketCloudRepositoryProperties repositoryProperties,
VcsBranchDetectionOptions existingData)
Extract branch detection configuration from properties object.
|
Map<String,String> |
importChangeDetectionOptions(com.atlassian.bamboo.specs.model.repository.bitbucket.cloud.BitbucketCloudRepositoryProperties repositoryProperties,
VcsChangeDetectionOptions existingData)
Extract change detection configuration from properties object.
|
Map<String,String> |
importLocationData(com.atlassian.bamboo.specs.model.repository.bitbucket.cloud.BitbucketCloudRepositoryProperties properties,
VcsLocationDefinition existingData)
Extract vcs location configuration from properties object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
importBambooSpecsDetectionOptions
@Autowired public BitbucketCloudImporterExporter(BitbucketApiService bitbucketApiService, SecretEncryptionService secretEncryptionService, CredentialsAccessor credentialsAccessor)
@NotNull public com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud.BitbucketCloudRepository getEntityPropertiesBuilder(@NotNull VcsRepositoryData repositoryData)
VcsRepositoryDataExporter
getEntityPropertiesBuilder
in interface VcsRepositoryDataExporter<com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud.BitbucketCloudRepository,com.atlassian.bamboo.specs.model.repository.bitbucket.cloud.BitbucketCloudRepositoryProperties>
@NotNull public com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud.BitbucketCloudRepository appendLocationData(@NotNull com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud.BitbucketCloudRepository builder, @NotNull VcsLocationDefinition vcsLocationDefinition)
VcsRepositoryDataExporter
appendLocationData
in interface VcsRepositoryDataExporter<com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud.BitbucketCloudRepository,com.atlassian.bamboo.specs.model.repository.bitbucket.cloud.BitbucketCloudRepositoryProperties>
@NotNull public com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud.BitbucketCloudRepository appendBranchData(@NotNull com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud.BitbucketCloudRepository builder, @NotNull VcsBranchDefinition vcsBranchDefinition)
VcsRepositoryDataExporter
appendBranchData
in interface VcsRepositoryDataExporter<com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud.BitbucketCloudRepository,com.atlassian.bamboo.specs.model.repository.bitbucket.cloud.BitbucketCloudRepositoryProperties>
@NotNull public com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud.BitbucketCloudRepository appendChangeDetectionOptions(@NotNull com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud.BitbucketCloudRepository builder, @NotNull VcsChangeDetectionOptions changeDetectionOptions)
VcsRepositoryDataExporter
appendChangeDetectionOptions
in interface VcsRepositoryDataExporter<com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud.BitbucketCloudRepository,com.atlassian.bamboo.specs.model.repository.bitbucket.cloud.BitbucketCloudRepositoryProperties>
@NotNull public com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud.BitbucketCloudRepository appendBranchDetectionOptions(@NotNull com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud.BitbucketCloudRepository builder, @NotNull VcsBranchDetectionOptions branchDetectionOptions)
VcsRepositoryDataExporter
appendBranchDetectionOptions
in interface VcsRepositoryDataExporter<com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud.BitbucketCloudRepository,com.atlassian.bamboo.specs.model.repository.bitbucket.cloud.BitbucketCloudRepositoryProperties>
@Nullable public Map<String,String> importLocationData(@NotNull com.atlassian.bamboo.specs.model.repository.bitbucket.cloud.BitbucketCloudRepositoryProperties properties, @Nullable VcsLocationDefinition existingData)
VcsRepositoryDataExporter
importLocationData
in interface VcsRepositoryDataExporter<com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud.BitbucketCloudRepository,com.atlassian.bamboo.specs.model.repository.bitbucket.cloud.BitbucketCloudRepositoryProperties>
@Nullable public Map<String,String> importBranchData(@NotNull com.atlassian.bamboo.specs.model.repository.bitbucket.cloud.BitbucketCloudRepositoryProperties repositoryProperties, @Nullable VcsBranchDefinition existingData)
VcsRepositoryDataExporter
importBranchData
in interface VcsRepositoryDataExporter<com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud.BitbucketCloudRepository,com.atlassian.bamboo.specs.model.repository.bitbucket.cloud.BitbucketCloudRepositoryProperties>
@Nullable public Map<String,String> importChangeDetectionOptions(@NotNull com.atlassian.bamboo.specs.model.repository.bitbucket.cloud.BitbucketCloudRepositoryProperties repositoryProperties, @Nullable VcsChangeDetectionOptions existingData)
VcsRepositoryDataExporter
importChangeDetectionOptions
in interface VcsRepositoryDataExporter<com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud.BitbucketCloudRepository,com.atlassian.bamboo.specs.model.repository.bitbucket.cloud.BitbucketCloudRepositoryProperties>
@Nullable public Map<String,String> importBranchDetectionOptions(@NotNull com.atlassian.bamboo.specs.model.repository.bitbucket.cloud.BitbucketCloudRepositoryProperties repositoryProperties, @Nullable VcsBranchDetectionOptions existingData)
VcsRepositoryDataExporter
importBranchDetectionOptions
in interface VcsRepositoryDataExporter<com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud.BitbucketCloudRepository,com.atlassian.bamboo.specs.model.repository.bitbucket.cloud.BitbucketCloudRepositoryProperties>
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.