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