Class GitHubToGitPluginConfigurationTransformer
java.lang.Object
com.atlassian.bamboo.plugins.github.GitHubToGitPluginConfigurationTransformer
- All Implemented Interfaces:
GitPluginConfigurationTransformer
public class GitHubToGitPluginConfigurationTransformer
extends Object
implements GitPluginConfigurationTransformer
-
Constructor Summary
ConstructorsConstructorDescriptionGitHubToGitPluginConfigurationTransformer(GithubAppsService githubAppsService, CredentialsAccessor credentialsAccessor, CustomVariableContext customVariableContext) -
Method Summary
-
Constructor Details
-
GitHubToGitPluginConfigurationTransformer
@Inject public GitHubToGitPluginConfigurationTransformer(GithubAppsService githubAppsService, CredentialsAccessor credentialsAccessor, CustomVariableContext customVariableContext)
-
-
Method Details
-
toGitServerConfiguration
@NotNull public @NotNull Map<String,String> toGitServerConfiguration(@NotNull @NotNull Map<String, String> serverCfg) Description copied from interface:GitPluginConfigurationTransformerTransforms plugin-dependent server configuration to a git plugin compatible configuration.- Specified by:
toGitServerConfigurationin interfaceGitPluginConfigurationTransformer- Parameters:
serverCfg- the repository server configuration to be transformed- Returns:
- a new Map containing the transformed configuration data compatible with the git plugin
-