Package | Description |
---|---|
org.gitlab4j.api | |
org.gitlab4j.api.models |
Modifier and Type | Method and Description |
---|---|
MergeRequest |
MergeRequestApi.acceptMergeRequest(Integer projectId,
Integer mergeRequestId,
String mergeCommitMessage,
Boolean shouldRemoveSourceBranch,
Boolean mergeWhenPipelineSucceeds)
Merge changes to the merge request.
|
MergeRequest |
MergeRequestApi.approveMergeRequest(Integer projectId,
Integer mergeRequestId,
String sha)
Approve a merge request.
|
MergeRequest |
MergeRequestApi.cancelMergeRequest(Integer projectId,
Integer mergeRequestId)
Cancel merge when pipeline succeeds.
|
MergeRequest |
MergeRequestApi.createMergeRequest(Integer projectId,
String sourceBranch,
String targetBranch,
String title,
String description,
Integer assigneeId)
Creates a merge request and optionally assigns a reviewer to it.
|
MergeRequest |
MergeRequestApi.getMergeRequest(Integer projectId,
Integer mergeRequestId)
Get information about a single merge request.
|
MergeRequest |
MergeRequestApi.getMergeRequestApprovals(Integer projectId,
Integer mergeRequestId)
Get the merge request with approval information.
|
MergeRequest |
MergeRequestApi.unapproveMergeRequest(Integer projectId,
Integer mergeRequestId)
Unapprove a merge request.
|
MergeRequest |
MergeRequestApi.updateMergeRequest(Integer projectId,
Integer mergeRequestId,
String targetBranch,
String title,
Integer assigneeId,
String description,
Constants.StateEvent stateEvent,
String labels,
Integer milestoneId)
Updates an existing merge request.
|
MergeRequest |
MergeRequestApi.updateMergeRequest(Integer projectId,
Integer mergeRequestId,
String sourceBranch,
String targetBranch,
String title,
String description,
Integer assigneeId)
Deprecated.
as of release 4.4.3
|
Modifier and Type | Method and Description |
---|---|
List<MergeRequest> |
MergeRequestApi.getMergeRequests(Integer projectId)
Get all merge requests for the specified project.
|
Pager<MergeRequest> |
MergeRequestApi.getMergeRequests(Integer projectId,
int itemsPerPage)
Get all merge requests for the specified project.
|
List<MergeRequest> |
MergeRequestApi.getMergeRequests(Integer projectId,
int page,
int perPage)
Get all merge requests for the specified project.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
MergeRequest.isValid(MergeRequest mergeRequest) |
Copyright © 2017. All rights reserved.