public class BitbucketServerExporter extends BitbucketServerSshKeyHandler implements VcsRepositoryDataExporter<com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository,com.atlassian.bamboo.specs.model.repository.bitbucket.server.BitbucketServerRepositoryProperties>
YAML_TYPE| Constructor and Description |
|---|
BitbucketServerExporter() |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository |
appendBranchData(com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository builder,
VcsBranchDefinition vcsBranchDefinition)
Fill in the builder passed as the first argument with vcs branch data.
|
com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository |
appendBranchDetectionOptions(com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository builder,
VcsBranchDetectionOptions branchDetectionOptions)
Fill in the builder passed as the first argument with branch detection configuration.
|
com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository |
appendChangeDetectionOptions(com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository builder,
VcsChangeDetectionOptions changeDetectionOptions)
Fill in the builder passed as the first argument with change detection configuration.
|
com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository |
appendLocationData(com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository builder,
VcsLocationDefinition vcsLocationDefinition,
VcsRepositoryContext repositoryContext)
Fill in the builder passed as the first argument with vcs server data.
|
com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository |
fromYaml(String name,
Node node,
TaskValidationContext validationContext) |
com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository |
getEntityPropertiesBuilder(VcsRepositoryData repositoryData)
Create empty instance of a properties builder appropriate for the exported repository data.
|
Map<String,String> |
importBambooSpecsDetectionOptions(com.atlassian.bamboo.specs.model.repository.bitbucket.server.BitbucketServerRepositoryProperties repositoryProperties,
VcsBambooSpecsDetectionOptions existingData)
Extract Bamboo Specs detection configuration from properties object.
|
Map<String,String> |
importBranchData(com.atlassian.bamboo.specs.model.repository.bitbucket.server.BitbucketServerRepositoryProperties repositoryProperties,
VcsBranchDefinition existingData)
Extract branch configuration from properties object.
|
Map<String,String> |
importBranchDetectionOptions(com.atlassian.bamboo.specs.model.repository.bitbucket.server.BitbucketServerRepositoryProperties repositoryProperties,
VcsBranchDetectionOptions existingData)
Extract branch detection configuration from properties object.
|
Map<String,String> |
importChangeDetectionOptions(com.atlassian.bamboo.specs.model.repository.bitbucket.server.BitbucketServerRepositoryProperties repositoryProperties,
VcsChangeDetectionOptions existingData)
Extract change detection configuration from properties object.
|
Map<String,String> |
importLocationData(com.atlassian.bamboo.specs.model.repository.bitbucket.server.BitbucketServerRepositoryProperties repositoryProperties,
VcsLocationDefinition existingData,
VcsRepositoryContext repositoryContext)
Extract vcs location configuration from properties object.
|
Node |
toYaml(com.atlassian.bamboo.specs.model.repository.bitbucket.server.BitbucketServerRepositoryProperties repo) |
generateKeyPair, getAuthenticationErrors, sshKeyLocationToStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendLocationData, importLocationData@NotNull
public com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository getEntityPropertiesBuilder(@NotNull
VcsRepositoryData repositoryData)
VcsRepositoryDataExportergetEntityPropertiesBuilder in interface VcsRepositoryDataExporter<com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository,com.atlassian.bamboo.specs.model.repository.bitbucket.server.BitbucketServerRepositoryProperties>@NotNull
public com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository appendLocationData(@NotNull
com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository builder,
@NotNull
VcsLocationDefinition vcsLocationDefinition,
@NotNull
VcsRepositoryContext repositoryContext)
VcsRepositoryDataExporterappendLocationData in interface VcsRepositoryDataExporter<com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository,com.atlassian.bamboo.specs.model.repository.bitbucket.server.BitbucketServerRepositoryProperties>@NotNull
public com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository appendBranchData(@NotNull
com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository builder,
@NotNull
VcsBranchDefinition vcsBranchDefinition)
VcsRepositoryDataExporterappendBranchData in interface VcsRepositoryDataExporter<com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository,com.atlassian.bamboo.specs.model.repository.bitbucket.server.BitbucketServerRepositoryProperties>@NotNull
public com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository appendChangeDetectionOptions(@NotNull
com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository builder,
@NotNull
VcsChangeDetectionOptions changeDetectionOptions)
VcsRepositoryDataExporterappendChangeDetectionOptions in interface VcsRepositoryDataExporter<com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository,com.atlassian.bamboo.specs.model.repository.bitbucket.server.BitbucketServerRepositoryProperties>@NotNull
public com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository appendBranchDetectionOptions(@NotNull
com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository builder,
@NotNull
VcsBranchDetectionOptions branchDetectionOptions)
VcsRepositoryDataExporterappendBranchDetectionOptions in interface VcsRepositoryDataExporter<com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository,com.atlassian.bamboo.specs.model.repository.bitbucket.server.BitbucketServerRepositoryProperties>@Nullable public Map<String,String> importLocationData(@NotNull com.atlassian.bamboo.specs.model.repository.bitbucket.server.BitbucketServerRepositoryProperties repositoryProperties, @Nullable VcsLocationDefinition existingData, @NotNull VcsRepositoryContext repositoryContext)
VcsRepositoryDataExporterimportLocationData in interface VcsRepositoryDataExporter<com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository,com.atlassian.bamboo.specs.model.repository.bitbucket.server.BitbucketServerRepositoryProperties>@Nullable public Node toYaml(@NotNull com.atlassian.bamboo.specs.model.repository.bitbucket.server.BitbucketServerRepositoryProperties repo) throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
toYaml in interface VcsRepositoryDataExporter<com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository,com.atlassian.bamboo.specs.model.repository.bitbucket.server.BitbucketServerRepositoryProperties>com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException@Nullable
public com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository fromYaml(@NotNull
String name,
@NotNull
Node node,
@NotNull
TaskValidationContext validationContext)
throws YamlSpecsValidationException
fromYaml in interface VcsRepositoryDataExporter<com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository,com.atlassian.bamboo.specs.model.repository.bitbucket.server.BitbucketServerRepositoryProperties>YamlSpecsValidationException@Nullable public Map<String,String> importBranchData(@NotNull com.atlassian.bamboo.specs.model.repository.bitbucket.server.BitbucketServerRepositoryProperties repositoryProperties, @Nullable VcsBranchDefinition existingData)
VcsRepositoryDataExporterimportBranchData in interface VcsRepositoryDataExporter<com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository,com.atlassian.bamboo.specs.model.repository.bitbucket.server.BitbucketServerRepositoryProperties>@Nullable public Map<String,String> importChangeDetectionOptions(@NotNull com.atlassian.bamboo.specs.model.repository.bitbucket.server.BitbucketServerRepositoryProperties repositoryProperties, @Nullable VcsChangeDetectionOptions existingData)
VcsRepositoryDataExporterimportChangeDetectionOptions in interface VcsRepositoryDataExporter<com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository,com.atlassian.bamboo.specs.model.repository.bitbucket.server.BitbucketServerRepositoryProperties>@Nullable public Map<String,String> importBranchDetectionOptions(@NotNull com.atlassian.bamboo.specs.model.repository.bitbucket.server.BitbucketServerRepositoryProperties repositoryProperties, @Nullable VcsBranchDetectionOptions existingData)
VcsRepositoryDataExporterimportBranchDetectionOptions in interface VcsRepositoryDataExporter<com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository,com.atlassian.bamboo.specs.model.repository.bitbucket.server.BitbucketServerRepositoryProperties>@NotNull public Map<String,String> importBambooSpecsDetectionOptions(@NotNull com.atlassian.bamboo.specs.model.repository.bitbucket.server.BitbucketServerRepositoryProperties repositoryProperties, @Nullable VcsBambooSpecsDetectionOptions existingData)
VcsRepositoryDataExporterimportBambooSpecsDetectionOptions in interface VcsRepositoryDataExporter<com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerRepository,com.atlassian.bamboo.specs.model.repository.bitbucket.server.BitbucketServerRepositoryProperties>Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.