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