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 java.lang.Object
Method Summary |
javax.ws.rs.core.Response |
getAvailableRepositories(javax.ws.rs.core.UriInfo uriInfo,
java.lang.String username,
java.lang.String password,
long repositoryId,
java.lang.String query)
|
javax.ws.rs.core.Response |
getBranches(javax.ws.rs.core.UriInfo uriInfo,
java.lang.String owner,
java.lang.String slug,
java.lang.String username,
java.lang.String password,
long repositoryId)
|
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,
java.lang.String username,
java.lang.String password,
long repositoryId,
java.lang.String query)
- Parameters:
uriInfo
- username
- password
- repositoryId
- query
-
- Returns:
getBranches
public javax.ws.rs.core.Response getBranches(@Context
javax.ws.rs.core.UriInfo uriInfo,
java.lang.String owner,
java.lang.String slug,
java.lang.String username,
java.lang.String password,
long repositoryId)
- Parameters:
uriInfo
- owner
- slug
- username
- password
- repositoryId
-
- Returns:
Copyright © 2012 Atlassian. All Rights Reserved.