public class GitRepoClient extends Object
| Constructor and Description |
|---|
GitRepoClient(String address,
String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
protected List<Object> |
createProviders() |
RepositoryDTO |
createRepository(CreateRepositoryDTO createRepository) |
protected <T> T |
createWebClient(Class<T> clientType)
Creates a JAXRS web client for the given JAXRS client
|
WebHookDTO |
createWebhook(String owner,
String repo,
CreateWebhookDTO dto) |
protected GitApi |
getApi() |
List<RepositoryDTO> |
listOrganisationRepositories(String organisation) |
List<RepositoryDTO> |
listRepositories() |
List<OrganisationDTO> |
listUserOrganisations() |
public RepositoryDTO createRepository(CreateRepositoryDTO createRepository)
public List<RepositoryDTO> listRepositories()
public List<RepositoryDTO> listOrganisationRepositories(String organisation)
public List<OrganisationDTO> listUserOrganisations()
public WebHookDTO createWebhook(String owner, String repo, CreateWebhookDTO dto)
protected GitApi getApi()
protected <T> T createWebClient(Class<T> clientType)
Copyright © 2011–2015 Red Hat. All rights reserved.