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