public class GitVariableGenerator extends AbstractGitExecutor implements VcsVariableGenerator
buildDirectoryManager, customVariableContext, DEFAULT_BRANCH, i18nResolver, sshProxyService, trustedKeyHelper| Constructor and Description |
|---|
GitVariableGenerator() |
| 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, getGitCapability, getSharedCredentialsIdField, getSshCapability, getSubstitutedAccessData, getSubstitutedAccessDataBuilder, getWorkingDirectory, isUsingSharedCredentials, rethrowOrRemoveDirectory, setBuildDirectoryManager, setCapabilityContext, setCredentialsAccessor, setCustomVariableContext, setEncryptionService, setI18nResolver, setSshProxyService, setTrustedKeyHelper, substituteString@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 © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.