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