Package | Description |
---|---|
org.gitlab4j.api | |
org.gitlab4j.api.models |
Modifier and Type | Method and Description |
---|---|
MergeRequest |
MergeRequestApi.acceptMergeRequest(Object projectIdOrPath,
Integer mergeRequestIid,
AcceptMergeRequestParams params)
Merge changes to the merge request.
|
Modifier and Type | Method and Description |
---|---|
AcceptMergeRequestParams |
AcceptMergeRequestParams.withMergeCommitMessage(String mergeCommitMessage)
Custom merge commit message.
|
AcceptMergeRequestParams |
AcceptMergeRequestParams.withMergeWhenPipelineSucceeds(Boolean mergeWhenPipelineSucceeds)
If
true the MR is merged when the pipeline succeeds. |
AcceptMergeRequestParams |
AcceptMergeRequestParams.withSha(String sha)
If present, then this SHA must match the HEAD of the source branch, otherwise the merge will fail.
|
AcceptMergeRequestParams |
AcceptMergeRequestParams.withShouldRemoveSourceBranch(Boolean shouldRemoveSourceBranch)
If
true removes the source branch. |
AcceptMergeRequestParams |
AcceptMergeRequestParams.withSquash(Boolean squash)
If
true the commits will be squashed into a single commit on merge. |
AcceptMergeRequestParams |
AcceptMergeRequestParams.withSquashCommitMessage(String squashCommitMessage)
Custom squash commit message.
|
Copyright © 2020. All rights reserved.