Class BitbucketCloudConnectionTester
- java.lang.Object
-
- com.atlassian.bamboo.plugins.bitbucket.v2.AbstractBitbucketCloudExecutor
-
- com.atlassian.bamboo.plugins.bitbucket.v2.BitbucketCloudConnectionTester
-
- All Implemented Interfaces:
VcsConnectionTester
public class BitbucketCloudConnectionTester extends AbstractBitbucketCloudExecutor implements VcsConnectionTester
-
-
Field Summary
-
Fields inherited from interface com.atlassian.bamboo.vcs.runtime.VcsConnectionTester
HOST_KEY
-
-
Constructor Summary
Constructors Constructor Description BitbucketCloudConnectionTester()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull ErrorCollection
testConnection(@NotNull VcsRepositoryData repositoryData, long timeout, @NotNull TimeUnit unit)
Test connection to the repository within the given timeout.-
Methods inherited from class com.atlassian.bamboo.plugins.bitbucket.v2.AbstractBitbucketCloudExecutor
bitbucketCloudToUnderlyingVcsData, getUnderlyingVcsModuleDescriptor, setVcsRepositoryManager
-
-
-
-
Method Detail
-
testConnection
@NotNull public @NotNull ErrorCollection testConnection(@NotNull @NotNull VcsRepositoryData repositoryData, long timeout, @NotNull @NotNull TimeUnit unit)
Description copied from interface:VcsConnectionTester
Test connection to the repository within the given timeout. The method should stop executing after the given time elapses.- Specified by:
testConnection
in interfaceVcsConnectionTester
- Parameters:
repositoryData
- configuration to be testedtimeout
- the maximum time to waitunit
- the time unit of the timeout argument- Returns:
- Errors discovered during testing connection. Empty error collection should be returned if connection was successful. The errors should be translated to error messages, rather than field errors.
-
-