|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.plugins.hg.bitbucket.impl.BitbucketApiServiceImpl
public class BitbucketApiServiceImpl
Constructor Summary | |
---|---|
BitbucketApiServiceImpl(com.atlassian.sal.api.message.I18nResolver i18nResolver)
|
Method Summary | |
---|---|
java.util.List<BitbucketNodeEntity> |
getBranches(java.lang.String repositoryName,
java.lang.String username,
java.lang.String password)
Retrieve list of branches for given repository |
java.util.List<BitbucketNodeEntity> |
getBranches(java.lang.String owner,
java.lang.String slug,
java.lang.String username,
java.lang.String password)
JAXB binding cannot be used in this method as Bitbucket returns JSON with node names containing characters which cannot be used as XML element names. |
java.util.List<BitbucketResourceEntity> |
getPublicRepositories(java.lang.String username)
Return a list of public repositories that user has access to. |
java.util.List<BitbucketResourceEntity> |
getRepositories(java.lang.String username,
java.lang.String password)
Retrieve list of all repositories accessible to Bitbucket user |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BitbucketApiServiceImpl(com.atlassian.sal.api.message.I18nResolver i18nResolver)
Method Detail |
---|
@NotNull public java.util.List<BitbucketResourceEntity> getPublicRepositories(@NotNull java.lang.String username) throws BitbucketApiException
BitbucketApiService
getPublicRepositories
in interface BitbucketApiService
BitbucketApiException
@NotNull public java.util.List<BitbucketResourceEntity> getRepositories(@NotNull java.lang.String username, @NotNull java.lang.String password) throws BitbucketApiException
BitbucketApiService
getRepositories
in interface BitbucketApiService
BitbucketApiException
@NotNull public java.util.List<BitbucketNodeEntity> getBranches(@NotNull java.lang.String owner, @NotNull java.lang.String slug, @NotNull java.lang.String username, @NotNull java.lang.String password) throws BitbucketApiException
getBranches
in interface BitbucketApiService
owner
- slug
- username
- password
-
BitbucketApiException
@NotNull public java.util.List<BitbucketNodeEntity> getBranches(@NotNull java.lang.String repositoryName, @NotNull java.lang.String username, @NotNull java.lang.String password) throws BitbucketApiException
BitbucketApiService
getBranches
in interface BitbucketApiService
BitbucketApiException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |