public class GitVariableGenerator extends AbstractGitExecutor implements VcsVariableGenerator
buildDirectoryManager, customVariableContext, DEFAULT_BRANCH, i18nResolver, sshProxyService, trustedKeyHelper| Constructor and Description |
|---|
GitVariableGenerator(CapabilityContext capabilityContext,
CredentialsAccessor credentialsAccessor,
CustomVariableContext customVariableContext,
BuildDirectoryManager buildDirectoryManager,
com.atlassian.sal.api.message.I18nResolver i18nResolver,
TrustedKeyHelper trustedKeyHelper,
SshProxyService sshProxyService) |
| 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.
|
getAccessData, getCacheDirectory, getCachePath, getGitCapability, getSharedCredentialsIdField, getSshCapability, getSubstitutedAccessData, getSubstitutedAccessDataBuilder, getWorkingDirectory, isUsingSharedCredentials, rethrowOrRemoveDirectory, substituteString@Inject public GitVariableGenerator(CapabilityContext capabilityContext, CredentialsAccessor credentialsAccessor, CustomVariableContext customVariableContext, BuildDirectoryManager buildDirectoryManager, com.atlassian.sal.api.message.I18nResolver i18nResolver, TrustedKeyHelper trustedKeyHelper, SshProxyService sshProxyService)
@Nullable public String getLegacyPrefix()
VcsVariableGeneratorgetLegacyPrefix in interface VcsVariableGenerator@NotNull public Map<String,String> getPlanRepositoryVariables(@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 © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.