Interface GitPluginConfigurationTransformer
- All Known Implementing Classes:
BitbucketCloudToGitPluginConfigurationTransformer
,BitbucketServerToGitPluginConfigurationTransformer
,GitHubToGitPluginConfigurationTransformer
,ToGitPluginConfigurationDefaultTransformer
@ExperimentalApi
public interface GitPluginConfigurationTransformer
Transformer for migrating various plugin dependent configurations to the git plugin one.
All methods must return new data instances and must not mutate the input parameters.
- Since:
- 10.1
-
Method Summary
-
Method Details
-
toGitServerConfiguration
@NotNull @NotNull Map<String,String> toGitServerConfiguration(@NotNull @NotNull Map<String, String> serverCfg) Transforms plugin-dependent server configuration to a git plugin compatible configuration.- Parameters:
serverCfg
- the repository server configuration to be transformed- Returns:
- a new Map containing the transformed configuration data compatible with the git plugin
-