Class GitHubRepositoryHelper
java.lang.Object
com.atlassian.bamboo.plugins.github.GitHubRepositoryHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull GithubCredentialsSourcegetAppCredentialSource(VcsRepositoryData repositoryData) static @NotNull GithubAuthenticationOptiongetAuthenticationOption(VcsRepositoryData repositoryData) static @NotNull GithubCredentialsSourcegetPasswordCredentialSource(VcsRepositoryData repositoryData) static @Nullable GithubAccessCredentialsgetRepositoryAccessCredentials(@Nullable VcsRepositoryData vcsRepositoryData, @NotNull CredentialsAccessor credentialsAccessor) static @Nullable StringgetRepositoryAppId(@NotNull VcsRepositoryData repositoryData) static @Nullable StringgetRepositoryAppSshKey(@NotNull VcsRepositoryData repositoryData, @NotNull CredentialsAccessor credentialsAccessor) static @NotNull GitHubRepoNameBaggetRepositoryOwnerAndName(VcsRepositoryData repositoryData) static @Nullable StringgetRepositoryPassword(@NotNull VcsRepositoryData repositoryData, @NotNull CredentialsAccessor credentialsAccessor) static @Nullable StringgetRepositoryUsername(@NotNull VcsRepositoryData repositoryData, @NotNull CredentialsAccessor credentialsAccessor)
-
Constructor Details
-
GitHubRepositoryHelper
public GitHubRepositoryHelper()
-
-
Method Details
-
getPasswordCredentialSource
@NotNull public static @NotNull GithubCredentialsSource getPasswordCredentialSource(VcsRepositoryData repositoryData) -
getAppCredentialSource
@NotNull public static @NotNull GithubCredentialsSource getAppCredentialSource(VcsRepositoryData repositoryData) -
getAuthenticationOption
@NotNull public static @NotNull GithubAuthenticationOption getAuthenticationOption(VcsRepositoryData repositoryData) -
getRepositoryAccessCredentials
@Nullable public static @Nullable GithubAccessCredentials getRepositoryAccessCredentials(@Nullable @Nullable VcsRepositoryData vcsRepositoryData, @NotNull @NotNull CredentialsAccessor credentialsAccessor) -
getRepositoryUsername
@Nullable public static @Nullable String getRepositoryUsername(@NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull CredentialsAccessor credentialsAccessor) -
getRepositoryAppId
@Nullable public static @Nullable String getRepositoryAppId(@NotNull @NotNull VcsRepositoryData repositoryData) -
getRepositoryPassword
@Nullable public static @Nullable String getRepositoryPassword(@NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull CredentialsAccessor credentialsAccessor) -
getRepositoryAppSshKey
@Nullable public static @Nullable String getRepositoryAppSshKey(@NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull CredentialsAccessor credentialsAccessor) -
getRepositoryOwnerAndName
@NotNull public static @NotNull GitHubRepoNameBag getRepositoryOwnerAndName(VcsRepositoryData repositoryData)
-