public class LegacyConnectionTester extends LegacyExecutorBase implements VcsConnectionTester
repositoryModuleDescriptor
HOST_KEY
Constructor and Description |
---|
LegacyConnectionTester(RepositoryModuleDescriptor repositoryModuleDescriptor) |
Modifier and Type | Method and Description |
---|---|
ErrorCollection |
testConnection(VcsRepositoryData repositoryData,
long timeout,
TimeUnit unit)
Test connection to the repository within the given timeout.
|
getNewRepositoryInstance, getNewRepositoryInstanceAs, getRepositoryInstance, getRepositoryInstanceAs, xmlToConfiguration
public LegacyConnectionTester(RepositoryModuleDescriptor repositoryModuleDescriptor)
@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 argumentCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.