public class DefaultOntrackGitHubClient extends java.lang.Object implements OntrackGitHubClient
| Constructor and Description |
|---|
DefaultOntrackGitHubClient(GitHubEngineConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
protected org.eclipse.egit.github.core.client.GitHubClient |
createGitHubClient() |
GitHubIssue |
getIssue(java.lang.String repository,
int id)
Gets an issue from a repository.
|
java.util.List<java.lang.String> |
getRepositories()
Gets the list of repositories available using this client.
|
public DefaultOntrackGitHubClient(GitHubEngineConfiguration configuration)
public java.util.List<java.lang.String> getRepositories()
OntrackGitHubClientgetRepositories in interface OntrackGitHubClientpublic GitHubIssue getIssue(java.lang.String repository, int id)
OntrackGitHubClientgetIssue in interface OntrackGitHubClientrepository - Repository name, like nemerosa/ontrackid - ID of the issueprotected org.eclipse.egit.github.core.client.GitHubClient createGitHubClient()