public class DefaultVcsRepositoryDataExporter extends Object implements VcsRepositoryDataExporter<com.atlassian.bamboo.specs.api.builders.repository.AnyVcsRepository,com.atlassian.bamboo.specs.api.model.repository.AnyVcsRepositoryProperties>
Constructor and Description |
---|
DefaultVcsRepositoryDataExporter() |
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.
|
static com.atlassian.bamboo.specs.api.builders.repository.VcsChangeDetection |
exportStandardChangeDetectionOptions(VcsChangeDetectionOptions changeDetectionOptions) |
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.
|
static Map<String,String> |
importStandardChangeDetectionOptions(com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties repositoryProperties,
com.atlassian.bamboo.specs.api.model.repository.VcsChangeDetectionProperties cdOptionInput) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
importBambooSpecsDetectionOptions
@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>
@NotNull 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>
@Nullable public static Map<String,String> importStandardChangeDetectionOptions(@NotNull com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties repositoryProperties, @Nullable com.atlassian.bamboo.specs.api.model.repository.VcsChangeDetectionProperties cdOptionInput)
public static com.atlassian.bamboo.specs.api.builders.repository.VcsChangeDetection exportStandardChangeDetectionOptions(@NotNull VcsChangeDetectionOptions changeDetectionOptions)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.