public class GitlabClient extends GitlabClientSupport implements GitlabApi
address, password, privateToken, username| Constructor and Description | 
|---|
GitlabClient(String address,
            String username)  | 
GitlabClient(String address,
            String username,
            String password)  | 
| Modifier and Type | Method and Description | 
|---|---|
GroupDTO | 
createGroup(CreateGroupDTO dto)  | 
protected <T> T | 
createWebClient(Class<T> clientType)
Creates a JAXRS web client for the given JAXRS client 
 | 
List<IssueDTO> | 
getGroupIssues(Long groupId)  | 
List<GroupDTO> | 
getGroups()  | 
List<IssueDTO> | 
getIssues()  | 
List<NamespaceDTO> | 
getNamespaces()  | 
List<ProjectDTO> | 
getProject(Long projectId)  | 
List<IssueDTO> | 
getProjectIssue(Long projectId)  | 
List<ProjectDTO> | 
getProjects()  | 
List<ProjectDTO> | 
getProjects(Long projectId)  | 
getAddress, getApi, getPassword, getPrivateToken, getUsername, setPrivateToken@GET @Path(value="namespaces") public List<NamespaceDTO> getNamespaces()
getNamespaces in interface GitlabApi@POST @Path(value="group") public GroupDTO createGroup(CreateGroupDTO dto)
createGroup in interface GitlabApi@GET
 @Path(value="groups/{groupId}/projects")
public List<ProjectDTO> getProjects(Long projectId)
getProjects in interface GitlabApi@GET @Path(value="projects") public List<ProjectDTO> getProjects()
getProjects in interface GitlabApi@GET
 @Path(value="projects/{projectId}")
public List<ProjectDTO> getProject(Long projectId)
getProject in interface GitlabApi@GET
 @Path(value="groups/{groupId}/issues")
public List<IssueDTO> getGroupIssues(Long groupId)
getGroupIssues in interface GitlabApi@GET
 @Path(value="projects/{projectId}/issues")
public List<IssueDTO> getProjectIssue(Long projectId)
getProjectIssue in interface GitlabApiprotected <T> T createWebClient(Class<T> clientType)
createWebClient in class GitlabClientSupportCopyright © 2011–2017 Red Hat. All rights reserved.