Package | Description |
---|---|
org.gitlab4j.api | |
org.gitlab4j.api.models |
Modifier and Type | Method and Description |
---|---|
MergeRequest |
MergeRequestApi.acceptMergeRequest(Integer projectId,
Integer mergeRequestIid)
Merge changes to the merge request.
|
MergeRequest |
MergeRequestApi.acceptMergeRequest(Integer projectId,
Integer mergeRequestIid,
String mergeCommitMessage,
Boolean shouldRemoveSourceBranch,
Boolean mergeWhenPipelineSucceeds)
Merge changes to the merge request.
|
MergeRequest |
MergeRequestApi.acceptMergeRequest(Integer projectId,
Integer mergeRequestIid,
String mergeCommitMessage,
Boolean shouldRemoveSourceBranch,
Boolean mergeWhenPipelineSucceeds,
String sha)
Merge changes to the merge request.
|
MergeRequest |
MergeRequestApi.approveMergeRequest(Integer projectId,
Integer mergeRequestIid,
String sha)
Approve a merge request.
|
MergeRequest |
MergeRequestApi.cancelMergeRequest(Integer projectId,
Integer mergeRequestIid)
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.createMergeRequest(Integer projectId,
String sourceBranch,
String targetBranch,
String title,
String description,
Integer assigneeId,
Integer targetProjectId,
String[] labels,
Integer milestoneId,
Boolean removeSourceBranch)
Creates a merge request and optionally assigns a reviewer to it.
|
MergeRequest |
MergeRequestApi.createMergeRequest(Integer projectId,
String sourceBranch,
String targetBranch,
String title,
String description,
Integer assigneeId,
Integer targetProjectId,
String[] labels,
Integer milestoneId,
Boolean removeSourceBranch,
Boolean squash)
Creates a merge request and optionally assigns a reviewer to it.
|
MergeRequest |
MergeRequestApi.getMergeRequest(Integer projectId,
Integer mergeRequestIid)
Get information about a single merge request.
|
MergeRequest |
MergeRequestApi.getMergeRequestApprovals(Integer projectId,
Integer mergeRequestIid)
Get the merge request with approval information.
|
MergeRequest |
MergeRequestApi.getMergeRequestChanges(Integer projectId,
Integer mergeRequestIid)
Get merge request with changes information.
|
MergeRequest |
MergeRequestApi.unapproveMergeRequest(Integer projectId,
Integer mergeRequestIid)
Unapprove a merge request.
|
protected MergeRequest |
MergeRequestApi.updateMergeRequest(Integer projectId,
Integer mergeRequestIid,
javax.ws.rs.core.Form formData) |
MergeRequest |
MergeRequestApi.updateMergeRequest(Integer projectId,
Integer mergeRequestIid,
String targetBranch,
String title,
Integer assigneeId,
String description,
Constants.StateEvent stateEvent,
String labels,
Integer milestoneId)
Deprecated.
|
MergeRequest |
MergeRequestApi.updateMergeRequest(Integer projectId,
Integer mergeRequestIid,
String targetBranch,
String title,
Integer assigneeId,
String description,
Constants.StateEvent stateEvent,
String labels,
Integer milestoneId,
Boolean removeSourceBranch,
Boolean squash,
Boolean discussionLocked,
Boolean allowCollaboration)
Updates an existing merge request.
|
MergeRequest |
MergeRequestApi.updateMergeRequest(Integer projectId,
Integer mergeRequestIid,
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> |
IssuesApi.getClosedByMergeRequests(Object projectIdOrPath,
Integer issueIid)
Get list containing all the merge requests that will close issue when merged.
|
Pager<MergeRequest> |
IssuesApi.getClosedByMergeRequests(Object projectIdOrPath,
Integer issueIid,
int itemsPerPage)
Get a Pager containing all the merge requests that will close issue when merged.
|
List<MergeRequest> |
IssuesApi.getClosedByMergeRequests(Object projectIdOrPath,
Integer issueIid,
int page,
int perPage)
Get list containing all the merge requests that will close issue when merged.
|
List<MergeRequest> |
MilestonesApi.getMergeRequest(Integer projectId,
Integer milestoneId)
Get the list of merge requests associated with the specified milestone.
|
List<MergeRequest> |
MergeRequestApi.getMergeRequests(Integer projectId)
Get all merge requests for the specified project.
|
List<MergeRequest> |
MergeRequestApi.getMergeRequests(Integer projectId,
Constants.MergeRequestState state)
Get all merge requests with a specific state for the specified project.
|
Pager<MergeRequest> |
MergeRequestApi.getMergeRequests(Integer projectId,
Constants.MergeRequestState state,
int itemsPerPage)
Get all merge requests for the specified project.
|
List<MergeRequest> |
MergeRequestApi.getMergeRequests(Integer projectId,
Constants.MergeRequestState state,
int page,
int perPage)
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.
|
List<MergeRequest> |
MergeRequestApi.getMergeRequests(MergeRequestFilter filter)
Get all merge requests matching the filter.
|
Pager<MergeRequest> |
MergeRequestApi.getMergeRequests(MergeRequestFilter filter,
int itemsPerPage)
Get all merge requests matching the filter.
|
List<MergeRequest> |
MergeRequestApi.getMergeRequests(MergeRequestFilter filter,
int page,
int perPage)
Get all merge requests matching the filter.
|
Optional<MergeRequest> |
MergeRequestApi.getOptionalMergeRequest(Integer projectId,
Integer mergeRequestIid)
Get information about a single merge request as an Optional instance.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
MergeRequest.isValid(MergeRequest mergeRequest) |
Copyright © 2018. All rights reserved.