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