Class BitbucketConfigUtils
java.lang.Object
com.atlassian.bamboo.plugins.bitbucket.BitbucketConfigUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic String[]
checkSplitRepositoryName
(String repository) static BitbucketAccessLevel
getAccessLevel
(@NotNull VcsRepositoryData repositoryData) static String
getOwner
(@NotNull VcsRepositoryData repositoryData) static String
getPassword
(@NotNull VcsRepositoryData repositoryData, @NotNull CredentialsAccessor credentialsAccessor) getPasswordCredentialSource
(VcsRepositoryData repositoryData) static String
getRepositoryOwner
(@NotNull VcsRepositoryData repositoryData) static String
getRepositorySlug
(VcsRepositoryData repositoryData) static String
getUsername
(@NotNull VcsRepositoryData repositoryData, @NotNull CredentialsAccessor credentialsAccessor) getUsernameAndPassword
(@NotNull VcsRepositoryData repositoryData, @NotNull CredentialsAccessor credentialsAccessor)
-
Method Details
-
getAccessLevel
public static BitbucketAccessLevel getAccessLevel(@NotNull @NotNull VcsRepositoryData repositoryData) -
getUsername
public static String getUsername(@NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull CredentialsAccessor credentialsAccessor) -
getPassword
public static String getPassword(@NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull CredentialsAccessor credentialsAccessor) -
getUsernameAndPassword
public static Pair<String,String> getUsernameAndPassword(@NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull CredentialsAccessor credentialsAccessor) -
getOwner
-
getRepositoryOwner
-
getRepositorySlug
-
checkSplitRepositoryName
-
getPasswordCredentialSource
public static BitbucketPasswordCredentialsSource getPasswordCredentialSource(VcsRepositoryData repositoryData)
-