Class BitbucketClientFactoryProvider
java.lang.Object
com.atlassian.bitbucket.jenkins.internal.client.BitbucketClientFactoryProvider
Client factory provider, use to ensure that expensive objects are only created once and re-used.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetClient(String baseUrl, BitbucketCredentials credentials) Return a client factory for the given base URL.
-
Constructor Details
-
BitbucketClientFactoryProvider
-
-
Method Details
-
getClient
Return a client factory for the given base URL.- Parameters:
baseUrl- the URL to connect tocredentials- the credentials to use while making the HTTP request- Returns:
- a ready to use client factory
-