Uses of Class
org.gitlab4j.api.models.AcceptMergeRequestParams
Package | Description |
---|---|
org.gitlab4j.api | |
org.gitlab4j.api.models |
-
Uses of AcceptMergeRequestParams in org.gitlab4j.api
Methods in org.gitlab4j.api with parameters of type AcceptMergeRequestParams Modifier and Type Method Description MergeRequest
MergeRequestApi. acceptMergeRequest(Object projectIdOrPath, Integer mergeRequestIid, AcceptMergeRequestParams params)
Merge changes to the merge request. -
Uses of AcceptMergeRequestParams in org.gitlab4j.api.models
Methods in org.gitlab4j.api.models that return AcceptMergeRequestParams Modifier and Type Method Description AcceptMergeRequestParams
AcceptMergeRequestParams. withMergeCommitMessage(String mergeCommitMessage)
Custom merge commit message.AcceptMergeRequestParams
AcceptMergeRequestParams. withMergeWhenPipelineSucceeds(Boolean mergeWhenPipelineSucceeds)
Iftrue
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)
Iftrue
removes the source branch.AcceptMergeRequestParams
AcceptMergeRequestParams. withSquash(Boolean squash)
Iftrue
the commits will be squashed into a single commit on merge.AcceptMergeRequestParams
AcceptMergeRequestParams. withSquashCommitMessage(String squashCommitMessage)
Custom squash commit message.