public abstract class AbstractMercurialExecutor extends Object
Modifier and Type | Field and Description |
---|---|
protected BuildDirectoryManager |
buildDirectoryManager |
protected BuildLoggerManager |
buildLoggerManager |
protected CapabilityContext |
capabilityContext |
protected CredentialsAccessor |
credentialsAccessor |
protected CustomVariableContext |
customVariableContext |
protected com.atlassian.sal.api.message.I18nResolver |
i18nResolver |
protected ScopedExclusionService |
scopedExclusionService |
protected SshProxyService |
sshProxyService |
protected TrustedKeyHelper |
trustedKeyHelper |
Constructor and Description |
---|
AbstractMercurialExecutor() |
Modifier and Type | Method and Description |
---|---|
protected HgRepositoryAccessData |
getAccessData(VcsRepositoryData vcsRepositoryData) |
protected static File |
getCacheBaseDirectory(BuildDirectoryManager buildDirectoryManager) |
protected static File |
getCacheDirectory(File baseDirectory,
String repositoryUrl,
String username) |
protected File |
getCacheDirectory(VcsRepositoryData vcsRepositoryData) |
protected HgRepositoryAccessImpl |
getHgRepoAccess(HgRepositoryAccessData substitutedAccessData,
BuildLogger logger) |
protected HgRepositoryAccessImpl |
getHgRepoAccess(VcsRepositoryData repositoryData,
BuildLogger logger) |
protected int |
getMaxCommitsToReturn() |
protected HgRepositoryAccessData |
getSubstitutedAccessData(VcsRepositoryData vcsRepositoryData)
Returns processed access data: - repositoryUrl/branch/username are substituted - password/sshKey/sshPassphrase
are decrypted - username/password are extracted from repositoryUrl if not set explicitly
|
protected File |
getWorkingDirectory() |
protected String |
substituteString(String stringWithValuesToSubstitute) |
@Autowired protected BuildLoggerManager buildLoggerManager
@Autowired protected BuildDirectoryManager buildDirectoryManager
@Autowired protected CustomVariableContext customVariableContext
@Autowired protected com.atlassian.sal.api.message.I18nResolver i18nResolver
@Autowired protected SshProxyService sshProxyService
@Autowired protected ScopedExclusionService scopedExclusionService
@Autowired protected TrustedKeyHelper trustedKeyHelper
@Autowired protected CapabilityContext capabilityContext
@Autowired protected CredentialsAccessor credentialsAccessor
protected HgRepositoryAccessImpl getHgRepoAccess(VcsRepositoryData repositoryData, BuildLogger logger) throws RepositoryException
RepositoryException
protected HgRepositoryAccessImpl getHgRepoAccess(HgRepositoryAccessData substitutedAccessData, BuildLogger logger) throws RepositoryException
RepositoryException
protected HgRepositoryAccessData getSubstitutedAccessData(@NotNull VcsRepositoryData vcsRepositoryData)
protected HgRepositoryAccessData getAccessData(VcsRepositoryData vcsRepositoryData)
@NotNull protected File getCacheDirectory(@NotNull VcsRepositoryData vcsRepositoryData)
protected static File getCacheBaseDirectory(BuildDirectoryManager buildDirectoryManager)
protected File getWorkingDirectory()
@NotNull protected static File getCacheDirectory(File baseDirectory, String repositoryUrl, @Nullable String username)
protected int getMaxCommitsToReturn()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.