Interface BitbucketClientFactory
- 
- All Known Implementing Classes:
 BitbucketClientFactoryImpl
public interface BitbucketClientFactoryFactory for Bitbucket Clients. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BitbucketAuthenticatedUserClientgetAuthenticatedUserClient()Return a client that can return the username for the credentials used.BitbucketCapabilitiesClientgetCapabilityClient()Construct a client that can retrieve the advertised capabilities from Bitbucket.BitbucketMirrorClientgetMirroredRepositoriesClient(int repositoryId)Construct a client that can retrieve the list of mirrored repositories for a givenrepoIdfrom Bitbucket.BitbucketProjectClientgetProjectClient(String projectKey)Return a project client.BitbucketSearchClientgetSearchClient(String projectName)Return a search client 
 - 
 
- 
- 
Method Detail
- 
getAuthenticatedUserClient
BitbucketAuthenticatedUserClient getAuthenticatedUserClient()
Return a client that can return the username for the credentials used.- Returns:
 - a client that is ready to use
 
 
- 
getCapabilityClient
BitbucketCapabilitiesClient getCapabilityClient()
Construct a client that can retrieve the advertised capabilities from Bitbucket. The client is thread safe and can be used multiple times.- Returns:
 - a client that is ready to use
 
 
- 
getMirroredRepositoriesClient
BitbucketMirrorClient getMirroredRepositoriesClient(int repositoryId)
Construct a client that can retrieve the list of mirrored repositories for a givenrepoIdfrom Bitbucket.- Parameters:
 repositoryId- the repositoryId- Returns:
 - a client that is ready to use
 
 
- 
getProjectClient
BitbucketProjectClient getProjectClient(String projectKey)
Return a project client.- Returns:
 - a client that is ready to use
 
 
- 
getSearchClient
BitbucketSearchClient getSearchClient(String projectName)
Return a search client- Parameters:
 projectName- the project name to search for- Returns:
 - a client that is ready to use
 
 
 - 
 
 -