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