com.atlassian.bamboo.plugins.hg.bitbucket
Class BitbucketApiAccessor
java.lang.Object
com.atlassian.bamboo.plugins.hg.bitbucket.BitbucketApiAccessor
public class BitbucketApiAccessor
- extends java.lang.Object
Constructor Summary |
BitbucketApiAccessor(java.lang.String username,
java.lang.String password,
com.opensymphony.xwork.TextProvider textProvider)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BitbucketApiAccessor
public BitbucketApiAccessor(java.lang.String username,
java.lang.String password,
com.opensymphony.xwork.TextProvider textProvider)
getUsernameForAnEmail
public static java.lang.String getUsernameForAnEmail(@NotNull
java.lang.String email)
getPublicRepositories
@NotNull
public java.util.List<java.lang.String> getPublicRepositories()
throws java.lang.Exception
- Throws:
java.lang.Exception
getPrivateRepositories
@NotNull
public java.util.List<java.lang.String> getPrivateRepositories()
throws java.lang.Exception
- Throws:
java.lang.Exception
getBranches
public java.util.List<java.lang.String> getBranches(@NotNull
java.lang.String repository)
throws BitbucketApiException,
com.opensymphony.webwork.dispatcher.json.JSONException
- Throws:
BitbucketApiException
com.opensymphony.webwork.dispatcher.json.JSONException
Copyright © 2012 Atlassian. All Rights Reserved.