public class MercurialVariableGenerator extends AbstractMercurialExecutor implements VcsVariableGenerator
branchIntegrationHelper, buildDirectoryManager, buildLoggerManager, buildLoggingContext, capabilityContext, credentialsAccessor, customVariableContext, i18nResolver, scopedExclusionService, sshProxyService, trustedKeyHelper
Constructor and Description |
---|
MercurialVariableGenerator() |
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.
|
commitLocal, getAccessData, getCacheBaseDirectory, getCacheDirectory, getCacheDirectory, getHgRepoAccess, getHgRepoAccess, getMaxCommitsToReturn, getOpenBranches, getSubstitutedAccessData, getWorkingCopyInfo, getWorkingDirectory, substituteString, updateRemote, updateRemoteWithNewBranch
@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.