com.atlassian.bamboo.plugins.hg.rest.resource
Class BitbucketResource
java.lang.Object
com.atlassian.bamboo.plugins.hg.rest.resource.BitbucketResource
@Singleton
public class BitbucketResource
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BitbucketResource
public BitbucketResource(BitbucketApiService bitbucketApiService,
com.atlassian.sal.api.message.I18nResolver i18nResolver,
EncryptionService encryptionService,
RepositoryDefinitionManager repositoryDefinitionManager)
getAvailableRepositories
public javax.ws.rs.core.Response getAvailableRepositories(@Context
javax.ws.rs.core.UriInfo uriInfo,
String username,
RestBitbucketRequest request)
- Parameters:
uriInfo
- username
-
- Returns:
getBranches
public javax.ws.rs.core.Response getBranches(@Context
javax.ws.rs.core.UriInfo uriInfo,
String owner,
String slug,
RestBitbucketRequest request)
- Parameters:
uriInfo
- owner
- slug
-
- Returns:
getErrorMessageFromBitbucketException
protected String getErrorMessageFromBitbucketException(BitbucketApiException e)
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.