public class GitHubConnectionTester extends AbstractGitHubExecutor implements VcsConnectionTester
vcsRepositoryManagerHOST_KEY| Constructor and Description |
|---|
GitHubConnectionTester(VcsRepositoryManager vcsRepositoryManager) |
| Modifier and Type | Method and Description |
|---|---|
ErrorCollection |
testConnection(VcsRepositoryData repositoryData,
long timeout,
TimeUnit unit)
Test connection to the repository within the given timeout.
|
getGitModuleDescriptor, githubToGitData@Inject public GitHubConnectionTester(VcsRepositoryManager vcsRepositoryManager)
@NotNull public ErrorCollection testConnection(@NotNull VcsRepositoryData repositoryData, long timeout, @NotNull TimeUnit unit)
VcsConnectionTestertestConnection in interface VcsConnectionTesterrepositoryData - configuration to be testedtimeout - the maximum time to waitunit - the time unit of the timeout argumentCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.