public class GitlabAPI extends Object
Modifier and Type | Field and Description |
---|---|
static org.codehaus.jackson.map.ObjectMapper |
MAPPER |
Modifier and Type | Method and Description |
---|---|
static GitlabAPI |
connect(String hostUrl,
String apiToken) |
GitlabNote |
createNote(GitlabMergeRequest mergeRequest,
String body) |
GitlabHTTPRequestor |
dispatch() |
URL |
getAPIUrl(String tailAPIUrl) |
List<GitlabCommit> |
getCommits(GitlabMergeRequest mergeRequest) |
GitlabMergeRequest |
getMergeRequest(GitlabProject project,
Integer mergeRequestId) |
List<GitlabMergeRequest> |
getMergeRequests(GitlabProject project) |
List<GitlabMergeRequest> |
getMergeRequests(Integer projectId) |
List<GitlabNote> |
getNotes(GitlabMergeRequest mergeRequest) |
List<GitlabMergeRequest> |
getOpenMergeRequests(GitlabProject project) |
GitlabProject |
getProject(Integer projectId) |
URL |
getUrl(String tailAPIUrl) |
GitlabAPI |
ignoreCertificateErrors(boolean ignoreCertificateErrors) |
boolean |
isIgnoreCertificateErrors() |
GitlabHTTPRequestor |
retrieve() |
public GitlabAPI ignoreCertificateErrors(boolean ignoreCertificateErrors)
public GitlabHTTPRequestor retrieve()
public GitlabHTTPRequestor dispatch()
public boolean isIgnoreCertificateErrors()
public URL getAPIUrl(String tailAPIUrl) throws IOException
IOException
public URL getUrl(String tailAPIUrl) throws IOException
IOException
public GitlabProject getProject(Integer projectId) throws IOException
IOException
public List<GitlabMergeRequest> getOpenMergeRequests(GitlabProject project) throws IOException
IOException
public List<GitlabMergeRequest> getMergeRequests(Integer projectId) throws IOException
IOException
public List<GitlabMergeRequest> getMergeRequests(GitlabProject project) throws IOException
IOException
public GitlabMergeRequest getMergeRequest(GitlabProject project, Integer mergeRequestId) throws IOException
IOException
public List<GitlabNote> getNotes(GitlabMergeRequest mergeRequest) throws IOException
IOException
public List<GitlabCommit> getCommits(GitlabMergeRequest mergeRequest) throws IOException
IOException
public GitlabNote createNote(GitlabMergeRequest mergeRequest, String body) throws IOException
IOException
Copyright © 2013. All Rights Reserved.