public class BitbucketConfigUtils extends Object
Modifier and Type | Method and Description |
---|---|
static BitbucketAccessLevel |
getAccessLevel(VcsRepositoryData repositoryData) |
static String |
getOwner(VcsRepositoryData repositoryData) |
static String |
getPassword(VcsRepositoryData repositoryData,
CredentialsAccessor credentialsAccessor) |
static BitbucketPasswordCredentialsSource |
getPasswordCredentialSource(VcsRepositoryData repositoryData) |
static String |
getRepositoryOwner(VcsRepositoryData repositoryData) |
static String |
getRepositorySlug(VcsRepositoryData repositoryData) |
static String |
getUsername(VcsRepositoryData repositoryData,
CredentialsAccessor credentialsAccessor) |
static Pair<String,String> |
getUsernameAndPassword(VcsRepositoryData repositoryData,
CredentialsAccessor credentialsAccessor) |
public static BitbucketAccessLevel getAccessLevel(@NotNull VcsRepositoryData repositoryData)
public static String getUsername(@NotNull VcsRepositoryData repositoryData, @NotNull CredentialsAccessor credentialsAccessor)
public static String getPassword(@NotNull VcsRepositoryData repositoryData, @NotNull CredentialsAccessor credentialsAccessor)
public static Pair<String,String> getUsernameAndPassword(@NotNull VcsRepositoryData repositoryData, @NotNull CredentialsAccessor credentialsAccessor)
public static String getOwner(@NotNull VcsRepositoryData repositoryData)
public static String getRepositoryOwner(@NotNull VcsRepositoryData repositoryData)
public static String getRepositorySlug(VcsRepositoryData repositoryData)
public static BitbucketPasswordCredentialsSource getPasswordCredentialSource(VcsRepositoryData repositoryData)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.