@ExperimentalApi
public interface VcsRepositoryDataExporter<B extends com.atlassian.bamboo.specs.api.builders.repository.VcsRepository,P extends com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties>
Modifier and Type | Method and Description |
---|---|
B |
appendBranchData(B builder,
VcsBranchDefinition vcsBranchDefinition)
Fill in the builder passed as the first argument with vcs branch data.
|
B |
appendBranchDetectionOptions(B builder,
VcsBranchDetectionOptions branchDetectionOptions)
Fill in the builder passed as the first argument with branch detection configuration.
|
B |
appendChangeDetectionOptions(B builder,
VcsChangeDetectionOptions changeDetectionOptions)
Fill in the builder passed as the first argument with change detection configuration.
|
B |
appendLocationData(B builder,
VcsLocationDefinition vcsLocationDefinition)
Fill in the builder passed as the first argument with vcs server data.
|
B |
getEntityPropertiesBuilder(VcsRepositoryData repositoryData)
Create empty instance of a properties builder appropriate for the exported repository data.
|
default Map<String,String> |
importBambooSpecsDetectionOptions(P repositoryProperties,
VcsBambooSpecsDetectionOptions existingData)
Extract Bamboo Specs detection configuration from properties object.
|
Map<String,String> |
importBranchData(P repositoryProperties,
VcsBranchDefinition existingData)
Extract branch configuration from properties object.
|
Map<String,String> |
importBranchDetectionOptions(P repositoryProperties,
VcsBranchDetectionOptions existingData)
Extract branch detection configuration from properties object.
|
Map<String,String> |
importChangeDetectionOptions(P repositoryProperties,
VcsChangeDetectionOptions existingData)
Extract change detection configuration from properties object.
|
Map<String,String> |
importLocationData(P repositoryProperties,
VcsLocationDefinition existingData)
Extract vcs location configuration from properties object.
|
@NotNull B getEntityPropertiesBuilder(@NotNull VcsRepositoryData repositoryData)
@NotNull B appendLocationData(@NotNull B builder, @NotNull VcsLocationDefinition vcsLocationDefinition)
@NotNull B appendBranchData(@NotNull B builder, @NotNull VcsBranchDefinition vcsBranchDefinition)
@NotNull B appendChangeDetectionOptions(@NotNull B builder, @NotNull VcsChangeDetectionOptions changeDetectionOptions)
@NotNull B appendBranchDetectionOptions(@NotNull B builder, @NotNull VcsBranchDetectionOptions branchDetectionOptions)
@Nullable Map<String,String> importLocationData(@NotNull P repositoryProperties, @Nullable VcsLocationDefinition existingData)
repositoryProperties
- @Nullable Map<String,String> importBranchData(@NotNull P repositoryProperties, @Nullable VcsBranchDefinition existingData)
repositoryProperties
- @Nullable Map<String,String> importChangeDetectionOptions(@NotNull P repositoryProperties, @Nullable VcsChangeDetectionOptions existingData)
repositoryProperties
- @Nullable Map<String,String> importBranchDetectionOptions(@NotNull P repositoryProperties, @Nullable VcsBranchDetectionOptions existingData)
repositoryProperties
- @Nullable default Map<String,String> importBambooSpecsDetectionOptions(@NotNull P repositoryProperties, @Nullable VcsBambooSpecsDetectionOptions existingData)
repositoryProperties
- Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.