public class BitbucketServerRepositoryConverter extends Object implements Repository2VcsTypeConverter
Constructor and Description |
---|
BitbucketServerRepositoryConverter() |
Modifier and Type | Method and Description |
---|---|
String |
acceptedRepositoryPluginKey() |
org.apache.commons.configuration.HierarchicalConfiguration |
asLegacyData(@NotNull VcsRepositoryData vcsRepositoryData)
Convert new style of repository plugin to an old style.
|
@Nullable Map<String,String> |
extractBranchConfiguration(@NotNull org.apache.commons.configuration.HierarchicalConfiguration repositoryConfiguration)
Extract branch configuration.
|
@NotNull Map<String,String> |
extractServerConfiguration(@NotNull org.apache.commons.configuration.HierarchicalConfiguration repositoryConfiguration)
Extract server part of repository configuration.
|
String |
producedVcsTypePluginKey() |
public String acceptedRepositoryPluginKey()
acceptedRepositoryPluginKey
in interface Repository2VcsTypeConverter
public String producedVcsTypePluginKey()
producedVcsTypePluginKey
in interface Repository2VcsTypeConverter
@NotNull public @NotNull Map<String,String> extractServerConfiguration(@NotNull @NotNull org.apache.commons.configuration.HierarchicalConfiguration repositoryConfiguration)
Repository2VcsTypeConverter
extractServerConfiguration
in interface Repository2VcsTypeConverter
@Nullable public @Nullable Map<String,String> extractBranchConfiguration(@NotNull @NotNull org.apache.commons.configuration.HierarchicalConfiguration repositoryConfiguration)
Repository2VcsTypeConverter
extractBranchConfiguration
in interface Repository2VcsTypeConverter
public org.apache.commons.configuration.HierarchicalConfiguration asLegacyData(@NotNull @NotNull VcsRepositoryData vcsRepositoryData)
Repository2VcsTypeConverter
asLegacyData
in interface Repository2VcsTypeConverter
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.