Modifiers | Name | Description |
---|---|---|
int |
REPOSITORY_PAGE_SIZE |
Type Params | Return Type | Name and description |
---|---|---|
|
java.util.UUID |
addAccount() Adds a new account of the provider. |
|
java.lang.String |
createPullRequestUrl(Credentials credentials, java.lang.String remoteRepositoryUrl, java.lang.String branch) Builds URL of pull request draft in the given repo from the given branch to the default branch. |
|
boolean |
editAccount(java.util.UUID credentialsId) Updates in UI the given account of the provider. |
|
Credentials |
getGitCredentials(java.util.UUID credentialsId) Gets credentials to use in canonical Git operation, through JGit. |
|
java.util.Iterator<java.util.List<Repository>> |
getRepositoriesPageIterator(java.util.UUID credentialsId) Gets iterator of pages of all available repositories for the user. |
|
CredentialsType |
getType() |
|
java.util.List<Repository> |
searchRepositories(java.util.UUID credentialsId, java.lang.String keyword) Gets list of repo containing the keyword in its name or description. |
|
void |
testConnection(java.util.UUID credentialsId) Tests connection. |
Adds a new account of the provider.
Builds URL of pull request draft in the given repo from the given branch to the default branch.
remoteRepositoryUrl
- URL of repo where we are creating the PR.branch
- the branch which is merged into the default branch.Updates in UI the given account of the provider.
credentialsId
- the identifier of account to edit.Gets credentials to use in canonical Git operation, through JGit.
Gets iterator of pages of all available repositories for the user.
Gets list of repo containing the keyword in its name or description.
keyword
- the substring to search.Tests connection.