Interface GitLabClient
public interface GitLabClient
-
Method Summary
Modifier and TypeMethodDescriptionvoid
acceptMergeRequest
(MergeRequest mr, String mergeCommitMessage, Boolean shouldRemoveSourceBranch) void
addProjectHook
(String projectId, String url, Boolean pushEvents, Boolean mergeRequestEvents, Boolean noteEvents) void
addProjectHook
(String projectId, String url, String secretToken, Boolean pushEvents, Boolean mergeRequestEvents, Boolean noteEvents) void
awardMergeRequestEmoji
(MergeRequest mr, String name) void
changeBuildStatus
(Integer projectId, String sha, BuildState state, String ref, String context, String targetUrl, String description) void
changeBuildStatus
(String projectId, String sha, BuildState state, String ref, String context, String targetUrl, String description) createMergeRequest
(Integer projectId, String sourceBranch, String targetBranch, String title) void
createMergeRequestNote
(MergeRequest mr, String body) createProject
(String projectName) void
deleteMergeRequestEmoji
(MergeRequest mr, Integer awardId) void
deleteProject
(String projectId) getBranches
(String projectId) void
getGroupProjects
(String groupId) getGroupProjects
(String groupId, Boolean includeSubgroups, ProjectVisibilityType visibility, OrderType orderBy, SortType sort) getMergeRequests
(String projectId, State state, int page, int perPage) getPipelines
(String projectName) getProject
(String projectName) getProjectHooks
(String projectName) updateProject
(String projectId, String name, String path)
-
Method Details
-
getHostUrl
String getHostUrl() -
getGroups
-
getGroupProjects
-
getGroupProjects
-
getGroups
-
createProject
-
createMergeRequest
MergeRequest createMergeRequest(Integer projectId, String sourceBranch, String targetBranch, String title) -
getProject
-
updateProject
-
deleteProject
-
getProjectHooks
-
addProjectHook
-
addProjectHook
-
changeBuildStatus
-
changeBuildStatus
-
getCommit
-
acceptMergeRequest
void acceptMergeRequest(MergeRequest mr, String mergeCommitMessage, Boolean shouldRemoveSourceBranch) -
createMergeRequestNote
-
getMergeRequestEmoji
-
awardMergeRequestEmoji
-
deleteMergeRequestEmoji
-
getMergeRequests
-
getBranches
-
getBranch
-
getCurrentUser
User getCurrentUser() -
addUser
-
updateUser
-
getLabels
-
getPipelines
-