Class GitHubRepositoryHelper
java.lang.Object
com.atlassian.bamboo.plugins.github.GitHubRepositoryHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull GithubPasswordCredentialsSource
getPasswordCredentialSource
(VcsRepositoryData repositoryData) getRepositoryOwnerAndName
(VcsRepositoryData repositoryData) static @Nullable String
getRepositoryPassword
(@NotNull VcsRepositoryData repositoryData, @NotNull CredentialsAccessor credentialsAccessor) static @Nullable String
getRepositoryUsername
(@NotNull VcsRepositoryData repositoryData, @NotNull CredentialsAccessor credentialsAccessor) getRepositoryUsernameAndPassword
(@Nullable VcsRepositoryData vcsRepositoryData, @NotNull CredentialsAccessor credentialsAccessor)
-
Constructor Details
-
GitHubRepositoryHelper
public GitHubRepositoryHelper()
-
-
Method Details
-
getPasswordCredentialSource
@NotNull public static @NotNull GithubPasswordCredentialsSource getPasswordCredentialSource(VcsRepositoryData repositoryData) -
getRepositoryUsernameAndPassword
@Nullable public static @Nullable Pair<String,String> getRepositoryUsernameAndPassword(@Nullable @Nullable VcsRepositoryData vcsRepositoryData, @NotNull @NotNull CredentialsAccessor credentialsAccessor) -
getRepositoryUsername
@Nullable public static @Nullable String getRepositoryUsername(@NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull CredentialsAccessor credentialsAccessor) -
getRepositoryPassword
@Nullable public static @Nullable String getRepositoryPassword(@NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull CredentialsAccessor credentialsAccessor) -
getRepositoryOwnerAndName
@NotNull public static @NotNull Pair<String,String> getRepositoryOwnerAndName(VcsRepositoryData repositoryData)
-