Interface BitbucketMirrorClient
- 
- All Known Implementing Classes:
 BitbucketMirrorClientImpl
public interface BitbucketMirrorClientClient to do the mirror related operation for a given repository 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BitbucketPage<BitbucketMirroredRepositoryDescriptor>getMirroredRepositoryDescriptors()Retrieve a page of mirrored repository descriptors for the given repository IDBitbucketMirroredRepositorygetRepositoryDetails(BitbucketMirroredRepositoryDescriptor repositoryDescriptor)Returns the mirrored repository details for the given repository url. 
 - 
 
- 
- 
Method Detail
- 
getMirroredRepositoryDescriptors
BitbucketPage<BitbucketMirroredRepositoryDescriptor> getMirroredRepositoryDescriptors()
Retrieve a page of mirrored repository descriptors for the given repository ID- Returns:
 - The mirrored repository descriptors for the given repository
 - Throws:
 AuthorizationException- if the credentials did not allow access to the given urlNoContentException- if the server did not respond with a bodyConnectionFailureException- if the server did not respondNotFoundException- if the requested url does not existBadRequestException- if the request was malformed and thus rejected by the serverServerErrorException- if the server failed to process the requestBitbucketClientException- for all errors not already captured
 
- 
getRepositoryDetails
BitbucketMirroredRepository getRepositoryDetails(BitbucketMirroredRepositoryDescriptor repositoryDescriptor)
Returns the mirrored repository details for the given repository url.- Parameters:
 repositoryDescriptor- the descriptor of repository.- Returns:
 - mirrored repository details
 
 
 - 
 
 -