public class GitHubVariableGenerator extends AbstractGitHubExecutor implements VcsVariableGenerator
vcsRepositoryManager
Constructor and Description |
---|
GitHubVariableGenerator(VcsRepositoryManager vcsRepositoryManager) |
Modifier and Type | Method and Description |
---|---|
String |
getLegacyPrefix()
Provides default prefix for generated variables.
|
Map<String,String> |
getPlanRepositoryVariables(VcsRepositoryData vcsRepositoryData)
Return a map containing name->value mapping of the plan repository format variables.
|
getGitModuleDescriptor, githubToGitData
@Inject public GitHubVariableGenerator(VcsRepositoryManager vcsRepositoryManager)
@Nullable public String getLegacyPrefix()
VcsVariableGenerator
getLegacyPrefix
in interface VcsVariableGenerator
@NotNull public Map<String,String> getPlanRepositoryVariables(@NotNull VcsRepositoryData vcsRepositoryData)
VcsVariableGenerator
Null values will be filtered out so it's safe to put them in the map.
getPlanRepositoryVariables
in interface VcsVariableGenerator
vcsRepositoryData
- definition of repository to generate variables forCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.