Package org.miaixz.bus.gitlab.models
Class MergeRequestFilter
java.lang.Object
org.miaixz.bus.gitlab.models.MergeRequestFilter
- All Implemented Interfaces:
Serializable
This class is used to filter merge requests when getting lists of them.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetIids()getIn()getQueryParams(int page, int perPage) getScope()getSort()getState()getWip()voidsetAssigneeId(Long assigneeId) voidsetAuthorId(Long authorId) voidsetCreatedAfter(Date createdAfter) voidsetCreatedBefore(Date createdBefore) voidsetGroupId(Long groupId) voidvoidvoidvoidsetMilestone(String milestone) voidsetMyReactionEmoji(String myReactionEmoji) voidsetOrderBy(Constants.MergeRequestOrderBy orderBy) voidsetProjectId(Long projectId) voidvoidvoidsetSimpleView(Boolean simpleView) voidsetSort(Constants.SortOrder sort) voidsetSourceBranch(String sourceBranch) voidvoidsetTargetBranch(String targetBranch) voidsetUpdatedAfter(Date updatedAfter) voidsetUpdatedBefore(Date updatedBefore) voidtoString()withAssigneeId(Long assigneeId) withAuthorId(Long authorId) withCreatedAfter(Date createdAfter) withCreatedBefore(Date createdBefore) withGroupId(Long groupId) withLabels(List<String> labels) withMilestone(String milestone) withMyReactionEmoji(String myReactionEmoji) Add 'not' filter.withNot(MergeRequestFilter.MergeRequestField field, Object value) Add 'not' filter entry.withOrderBy(Constants.MergeRequestOrderBy orderBy) withoutAssigneeId(Long assigneeId) Add assignee_id to the 'not' filter entry.withoutAssigneeUsername(String assigneeUsername) Add assignee_username to the 'not' filter entry.withoutAuthorId(Long authorId) Add author_id to the 'not' filter entry.withoutAuthorUsername(String authorUsername) Add author_username to the 'not' filter entry.withoutLabels(String... labels) Add labels to the 'not' filter entry.withoutMilestone(String milestone) Add milestone to the 'not' filter entry.withoutMyReactionEmoji(String myReactionEmoji) Add my_reaction_emoji to the 'not' filter entry.withoutReviewerId(Long reviewerId) Add reviewer_id to the 'not' filter entry.withoutReviewerUsername(String reviewerUsername) Add reviewer_username to the 'not' filter entry.withProjectId(Long projectId) withSearch(String search) withSimpleView(Boolean simpleView) withSort(Constants.SortOrder sort) withSourceBranch(String sourceBranch) withTargetBranch(String targetBranch) withUpdatedAfter(Date updatedAfter) withUpdatedBefore(Date updatedBefore)
-
Constructor Details
-
MergeRequestFilter
public MergeRequestFilter()
-
-
Method Details
-
getState
-
getProjectId
-
setProjectId
-
withProjectId
-
getIids
-
setIids
-
withIids
-
setState
-
withState
-
getOrderBy
-
setOrderBy
-
withOrderBy
-
getSort
-
setSort
-
withSort
-
getScope
-
getMilestone
-
setMilestone
-
withMilestone
-
getSimpleView
-
setSimpleView
-
withSimpleView
-
getLabels
-
setLabels
-
withLabels
-
getCreatedAfter
-
setCreatedAfter
-
withCreatedAfter
-
getCreatedBefore
-
setCreatedBefore
-
withCreatedBefore
-
getUpdatedAfter
-
setUpdatedAfter
-
withUpdatedAfter
-
getUpdatedBefore
-
setUpdatedBefore
-
withUpdatedBefore
-
setScope
-
withScope
-
getIn
-
getAuthorId
-
setAuthorId
-
withAuthorId
-
getAssigneeId
-
setAssigneeId
-
withAssigneeId
-
getMyReactionEmoji
-
setMyReactionEmoji
-
withMyReactionEmoji
-
getSourceBranch
-
setSourceBranch
-
withSourceBranch
-
getTargetBranch
-
setTargetBranch
-
withTargetBranch
-
getSearch
-
setSearch
-
withSearch
-
setIn
-
withIn
-
getWip
-
setWip
-
getGroupId
-
setGroupId
-
withGroupId
-
withWip
-
withNot
Add 'not' filter.- Parameters:
not- the 'not' filter- Returns:
- the reference to this MergeRequestFilter instance
-
withNot
Add 'not' filter entry.- Parameters:
field- the field to be added to the 'not' valuevalue- the value for the entry- Returns:
- the reference to this MergeRequestFilter instance
-
withoutAuthorId
Add author_id to the 'not' filter entry.- Parameters:
authorId- the id of the author to add to the filter- Returns:
- the reference to this MergeRequestFilter instance
-
withoutAuthorUsername
Add author_username to the 'not' filter entry.- Parameters:
authorUsername- the username of the author to add to the filter- Returns:
- the reference to this MergeRequestFilter instance
-
withoutAssigneeId
Add assignee_id to the 'not' filter entry.- Parameters:
assigneeId- the id of the assignee to add to the filter- Returns:
- the reference to this MergeRequestFilter instance
-
withoutAssigneeUsername
Add assignee_username to the 'not' filter entry.- Parameters:
assigneeUsername- the username of the assignee to add to the filter- Returns:
- the reference to this MergeRequestFilter instance
-
withoutReviewerId
Add reviewer_id to the 'not' filter entry.- Parameters:
reviewerId- the id of the reviewer to add to the filter- Returns:
- the reference to this MergeRequestFilter instance
-
withoutReviewerUsername
Add reviewer_username to the 'not' filter entry.- Parameters:
reviewerUsername- the username of the reviewer to add to the filter- Returns:
- the reference to this MergeRequestFilter instance
-
withoutMyReactionEmoji
Add my_reaction_emoji to the 'not' filter entry.- Parameters:
myReactionEmoji- the name of the reactionEmoji to add to the filter- Returns:
- the reference to this MergeRequestFilter instance
-
withoutMilestone
Add milestone to the 'not' filter entry.- Parameters:
milestone- the name of the milestone to add to the filter- Returns:
- the reference to this MergeRequestFilter instance
-
withoutLabels
Add labels to the 'not' filter entry.- Parameters:
labels- the labels to add to the filter- Returns:
- the reference to this MergeRequestFilter instance
-
getQueryParams
-
getQueryParams
-
toString
-