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,
AcceptMergeRequestParams params)
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,
MergeRequestParams params)
Creates a merge request.
|
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.
|
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.
|
MergeRequest |
MergeRequestApi.getApprovals(Object projectIdOrPath,
Integer mergeRequestIid)
Get the merge request with approval information.
|
MergeRequest |
MergeRequestApi.getMergeRequest(Object projectIdOrPath,
Integer mergeRequestIid)
Get information about a single merge request.
|
MergeRequest |
MergeRequestApi.getMergeRequest(Object projectIdOrPath,
Integer mergeRequestIid,
Boolean renderHtml,
Boolean includeDivergedCommitCount,
Boolean includeRebaseInProgress)
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.getRebaseStatus(Object projectIdOrPath,
Integer mergeRequestIid)
Get the merge request info containing the status of a merge request rebase.
|
MergeRequest |
MergeRequestApi.rebaseMergeRequest(Object projectIdOrPath,
Integer mergeRequestIid)
Automatically rebase the source_branch of the merge request against its target_branch.
|
MergeRequest |
MergeRequestApi.unapproveMergeRequest(Object projectIdOrPath,
Integer mergeRequestIid)
Unapprove a merge request.
|
MergeRequest |
MergeRequestApi.updateMergeRequest(Object projectIdOrPath,
Integer mergeRequestIid,
MergeRequestParams params)
Updates an existing merge request.
|
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.
|
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.
|
List<MergeRequest> |
CommitsApi.getMergeRequests(Object projectIdOrPath,
String sha)
Get a list of Merge Requests related to the specified commit.
|
Pager<MergeRequest> |
CommitsApi.getMergeRequests(Object projectIdOrPath,
String sha,
int itemsPerPage)
Get a Pager of Merge Requests related to the specified commit.
|
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.
|
Stream<MergeRequest> |
CommitsApi.getMergeRequestsStream(Object projectIdOrPath,
String sha)
Get a Stream of Merge Requests related to the specified commit.
|
Optional<MergeRequest> |
MergeRequestApi.getOptionalMergeRequest(Object projectIdOrPath,
Integer mergeRequestIid)
Get information about a single merge request as an Optional instance.
|
Optional<MergeRequest> |
MergeRequestApi.getOptionalMergeRequest(Object projectIdOrPath,
Integer mergeRequestIid,
Boolean renderHtml,
Boolean includeDivergedCommitCount,
Boolean includeRebaseInProgress)
Get information about a single merge request as an Optional instance.
|
Modifier and Type | Method and Description |
---|---|
MergeRequest |
Todo.getMergeRequestTarget() |
Modifier and Type | Method and Description |
---|---|
static boolean |
MergeRequest.isValid(MergeRequest mergeRequest) |
Copyright © 2020. All rights reserved.