Uses of Class
org.gitlab4j.api.models.MergeRequestParams
Package | Description |
---|---|
org.gitlab4j.api | |
org.gitlab4j.api.models |
-
Uses of MergeRequestParams in org.gitlab4j.api
Methods in org.gitlab4j.api with parameters of type MergeRequestParams Modifier and Type Method Description MergeRequest
MergeRequestApi. createMergeRequest(Object projectIdOrPath, MergeRequestParams params)
Creates a merge request.MergeRequest
MergeRequestApi. updateMergeRequest(Object projectIdOrPath, Integer mergeRequestIid, MergeRequestParams params)
Updates an existing merge request. -
Uses of MergeRequestParams in org.gitlab4j.api.models
Methods in org.gitlab4j.api.models that return MergeRequestParams Modifier and Type Method Description MergeRequestParams
MergeRequestParams. withAllowCollaboration(Boolean allowCollaboration)
Allow commits from members who can merge to the target branch.MergeRequestParams
MergeRequestParams. withApprovalsBeforeMerge(Integer approvalsBeforeMerge)
Set the approvals_before_merge field value.MergeRequestParams
MergeRequestParams. withAssigneeId(Integer assigneeId)
Set the assignee user ID.MergeRequestParams
MergeRequestParams. withAssigneeIds(List<Integer> assigneeIds)
The ID of the user(s) to assign the merge request to.MergeRequestParams
MergeRequestParams. withDescription(String description)
Set the description of the merge request.MergeRequestParams
MergeRequestParams. withDiscussionLocked(Boolean discussionLocked)
Flag indicating if the merge request’s discussion is locked.MergeRequestParams
MergeRequestParams. withLabels(String[] labels)
Set the labels for the merge request.MergeRequestParams
MergeRequestParams. withLabels(List<String> labels)
Set the labels for the merge request.MergeRequestParams
MergeRequestParams. withMilestoneId(Integer milestoneId)
Set the milestone ID field value.MergeRequestParams
MergeRequestParams. withRemoveSourceBranch(Boolean removeSourceBranch)
Flag indicating if a merge request should remove the source branch when merging.MergeRequestParams
MergeRequestParams. withReviewerIds(List<Integer> reviewerIds)
The ID of the user(s) to assign to the review of the merge request.MergeRequestParams
MergeRequestParams. withSourceBranch(String sourceBranch)
Set the source branch.MergeRequestParams
MergeRequestParams. withSquash(Boolean squash)
Squash commits into a single commit when merging.MergeRequestParams
MergeRequestParams. withStateEvent(Constants.StateEvent stateEvent)
New state (close/reopen).MergeRequestParams
MergeRequestParams. withTargetBranch(String targetBranch)
Set the target branch.MergeRequestParams
MergeRequestParams. withTargetProjectId(Integer targetProjectId)
Set the target project ID.MergeRequestParams
MergeRequestParams. withTitle(String title)
Set the title of the merge request.