public class MercurialConnectionTester extends AbstractMercurialExecutor implements VcsConnectionTester
buildDirectoryManager, buildLoggerManager, capabilityContext, credentialsAccessor, customVariableContext, i18nResolver, scopedExclusionService, sshProxyService, trustedKeyHelper
HOST_KEY
Constructor and Description |
---|
MercurialConnectionTester() |
Modifier and Type | Method and Description |
---|---|
protected void |
handleHostKeyVerificationException(ErrorCollection errorCollection,
HostKeyVerificationException exception) |
ErrorCollection |
testConnection(VcsRepositoryData repositoryData,
long timeout,
TimeUnit unit)
Test connection to the repository within the given timeout.
|
getAccessData, getCacheBaseDirectory, getCacheDirectory, getCacheDirectory, getHgRepoAccess, getHgRepoAccess, getMaxCommitsToReturn, getSubstitutedAccessData, getWorkingDirectory, substituteString
@NotNull public ErrorCollection testConnection(@NotNull VcsRepositoryData repositoryData, long timeout, @NotNull TimeUnit unit)
VcsConnectionTester
testConnection
in interface VcsConnectionTester
repositoryData
- configuration to be testedtimeout
- the maximum time to waitunit
- the time unit of the timeout argumentprotected void handleHostKeyVerificationException(@NotNull ErrorCollection errorCollection, @NotNull HostKeyVerificationException exception)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.