Package org.gitlab4j.api.models
Class IssueFilter
- java.lang.Object
-
- org.gitlab4j.api.models.IssueFilter
-
- All Implemented Interfaces:
java.io.Serializable
public class IssueFilter extends java.lang.Object implements java.io.SerializableThis class is used to filter issues when getting lists of them.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIssueFilter.IssueField
-
Constructor Summary
Constructors Constructor Description IssueFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.LonggetAssigneeId()java.lang.LonggetAuthorId()java.util.DategetCreatedAfter()java.util.DategetCreatedBefore()java.util.List<java.lang.Long>getIids()java.util.List<java.lang.String>getIn()java.lang.StringgetIterationTitle()java.util.List<java.lang.String>getLabels()java.lang.StringgetMilestone()java.lang.StringgetMyReactionEmoji()java.util.Map<IssueFilter.IssueField,java.lang.Object>getNot()Constants.IssueOrderBygetOrderBy()GitLabFormgetQueryParams()GitLabFormgetQueryParams(int page, int perPage)Constants.IssueScopegetScope()java.lang.StringgetSearch()Constants.SortOrdergetSort()Constants.IssueStategetState()java.util.DategetUpdatedAfter()java.util.DategetUpdatedBefore()voidsetAssigneeId(java.lang.Long assigneeId)voidsetAuthorId(java.lang.Long authorId)voidsetCreatedAfter(java.util.Date createdAfter)voidsetCreatedBefore(java.util.Date createdBefore)voidsetIids(java.util.List<java.lang.Long> iids)voidsetIn(java.util.List<java.lang.String> in)voidsetIterationTitle(java.lang.String iterationTitle)voidsetLabels(java.util.List<java.lang.String> labels)voidsetMilestone(java.lang.String milestone)voidsetMyReactionEmoji(java.lang.String myReactionEmoji)voidsetNot(java.util.Map<IssueFilter.IssueField,java.lang.Object> not)voidsetOrderBy(Constants.IssueOrderBy orderBy)voidsetScope(Constants.IssueScope scope)voidsetSearch(java.lang.String search)voidsetSort(Constants.SortOrder sort)voidsetState(Constants.IssueState state)voidsetUpdatedAfter(java.util.Date updatedAfter)voidsetUpdatedBefore(java.util.Date updatedBefore)IssueFilterwithAssigneeId(java.lang.Long assigneeId)IssueFilterwithAuthorId(java.lang.Long authorId)IssueFilterwithCreatedAfter(java.util.Date createdAfter)IssueFilterwithCreatedBefore(java.util.Date createdBefore)IssueFilterwithIids(java.util.List<java.lang.Long> iids)IssueFilterwithIterationTitle(java.lang.String iterationTitle)IssueFilterwithLabels(java.util.List<java.lang.String> labels)IssueFilterwithMilestone(java.lang.String milestone)IssueFilterwithMyReactionEmoji(java.lang.String myReactionEmoji)IssueFilterwithNot(java.util.Map<IssueFilter.IssueField,java.lang.Object> not)Add 'not' filter.IssueFilterwithNot(IssueFilter.IssueField field, java.lang.Object value)Add 'not' filter entry.IssueFilterwithOrderBy(Constants.IssueOrderBy orderBy)IssueFilterwithoutAssigneeId(java.lang.Long assigneeId)Add assignee_id to the 'not' filter entry.IssueFilterwithoutAssigneeUsername(java.lang.String assigneeUsername)Add assignee_username to the 'not' filter entry.IssueFilterwithoutAuthorId(java.lang.Long authorId)Add author_id to the 'not' filter entry.IssueFilterwithoutAuthorUsername(java.lang.String authorUsername)Add author_username to the 'not' filter entry.IssueFilterwithoutIids(java.lang.String... iids)IssueFilterwithoutIterationId(java.lang.Long iterationId)Add iteration_id to the 'not' filter entry.IssueFilterwithoutIterationTitle(java.lang.String iterationTitle)Add iteration_title to the 'not' filter entry.IssueFilterwithoutLabels(java.lang.String... labels)Add labels to the 'not' filter entry.IssueFilterwithoutMilestone(java.lang.String milestone)Add milestone to the 'not' filter entry.IssueFilterwithoutMilestoneId(java.lang.Long milestoneId)Add milestone_id to the 'not' filter entry.IssueFilterwithScope(Constants.IssueScope scope)IssueFilterwithSearch(java.lang.String search)IssueFilterwithSort(Constants.SortOrder sort)IssueFilterwithState(Constants.IssueState state)IssueFilterwithUpdatedAfter(java.util.Date updatedAfter)IssueFilterwithUpdatedBefore(java.util.Date updatedBefore)
-
-
-
Method Detail
-
getIids
public java.util.List<java.lang.Long> getIids()
-
setIids
public void setIids(java.util.List<java.lang.Long> iids)
-
getState
public Constants.IssueState getState()
-
setState
public void setState(Constants.IssueState state)
-
getIn
public java.util.List<java.lang.String> getIn()
-
setIn
public void setIn(java.util.List<java.lang.String> in)
-
getLabels
public java.util.List<java.lang.String> getLabels()
-
setLabels
public void setLabels(java.util.List<java.lang.String> labels)
-
getMilestone
public java.lang.String getMilestone()
-
setMilestone
public void setMilestone(java.lang.String milestone)
-
getScope
public Constants.IssueScope getScope()
-
setScope
public void setScope(Constants.IssueScope scope)
-
getAuthorId
public java.lang.Long getAuthorId()
-
setAuthorId
public void setAuthorId(java.lang.Long authorId)
-
getAssigneeId
public java.lang.Long getAssigneeId()
-
setAssigneeId
public void setAssigneeId(java.lang.Long assigneeId)
-
getMyReactionEmoji
public java.lang.String getMyReactionEmoji()
-
setMyReactionEmoji
public void setMyReactionEmoji(java.lang.String myReactionEmoji)
-
getOrderBy
public Constants.IssueOrderBy getOrderBy()
-
setOrderBy
public void setOrderBy(Constants.IssueOrderBy orderBy)
-
getSort
public Constants.SortOrder getSort()
-
setSort
public void setSort(Constants.SortOrder sort)
-
getSearch
public java.lang.String getSearch()
-
setSearch
public void setSearch(java.lang.String search)
-
getCreatedAfter
public java.util.Date getCreatedAfter()
-
setCreatedAfter
public void setCreatedAfter(java.util.Date createdAfter)
-
getCreatedBefore
public java.util.Date getCreatedBefore()
-
setCreatedBefore
public void setCreatedBefore(java.util.Date createdBefore)
-
getUpdatedAfter
public java.util.Date getUpdatedAfter()
-
setUpdatedAfter
public void setUpdatedAfter(java.util.Date updatedAfter)
-
getUpdatedBefore
public java.util.Date getUpdatedBefore()
-
setUpdatedBefore
public void setUpdatedBefore(java.util.Date updatedBefore)
-
getIterationTitle
public java.lang.String getIterationTitle()
-
setIterationTitle
public void setIterationTitle(java.lang.String iterationTitle)
-
getNot
public java.util.Map<IssueFilter.IssueField,java.lang.Object> getNot()
-
setNot
public void setNot(java.util.Map<IssueFilter.IssueField,java.lang.Object> not)
-
withIids
public IssueFilter withIids(java.util.List<java.lang.Long> iids)
-
withState
public IssueFilter withState(Constants.IssueState state)
-
withLabels
public IssueFilter withLabels(java.util.List<java.lang.String> labels)
-
withMilestone
public IssueFilter withMilestone(java.lang.String milestone)
-
withScope
public IssueFilter withScope(Constants.IssueScope scope)
-
withAuthorId
public IssueFilter withAuthorId(java.lang.Long authorId)
-
withAssigneeId
public IssueFilter withAssigneeId(java.lang.Long assigneeId)
-
withMyReactionEmoji
public IssueFilter withMyReactionEmoji(java.lang.String myReactionEmoji)
-
withOrderBy
public IssueFilter withOrderBy(Constants.IssueOrderBy orderBy)
-
withSort
public IssueFilter withSort(Constants.SortOrder sort)
-
withSearch
public IssueFilter withSearch(java.lang.String search)
-
withCreatedAfter
public IssueFilter withCreatedAfter(java.util.Date createdAfter)
-
withCreatedBefore
public IssueFilter withCreatedBefore(java.util.Date createdBefore)
-
withUpdatedAfter
public IssueFilter withUpdatedAfter(java.util.Date updatedAfter)
-
withUpdatedBefore
public IssueFilter withUpdatedBefore(java.util.Date updatedBefore)
-
withIterationTitle
public IssueFilter withIterationTitle(java.lang.String iterationTitle)
-
withNot
public IssueFilter withNot(java.util.Map<IssueFilter.IssueField,java.lang.Object> not)
Add 'not' filter.- Parameters:
not- the 'not' filter- Returns:
- the reference to this IssueFilter instance
-
withNot
public IssueFilter withNot(IssueFilter.IssueField field, java.lang.Object value)
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 IssueField instance
-
withoutLabels
public IssueFilter withoutLabels(java.lang.String... labels)
Add labels to the 'not' filter entry.- Parameters:
labels- the labels to add to the filter- Returns:
- the reference to this IssueFilter instance
-
withoutIids
public IssueFilter withoutIids(java.lang.String... iids)
-
withoutAuthorId
public IssueFilter withoutAuthorId(java.lang.Long authorId)
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 IssueFilter instance
-
withoutAuthorUsername
public IssueFilter withoutAuthorUsername(java.lang.String authorUsername)
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 IssueFilter instance
-
withoutAssigneeId
public IssueFilter withoutAssigneeId(java.lang.Long assigneeId)
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 IssueFilter instance
-
withoutAssigneeUsername
public IssueFilter withoutAssigneeUsername(java.lang.String assigneeUsername)
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 IssueFilter instance
-
withoutIterationId
public IssueFilter withoutIterationId(java.lang.Long iterationId)
Add iteration_id to the 'not' filter entry.- Parameters:
iterationId- the id of the iteration to add to the filter- Returns:
- the reference to this IssueFilter instance
-
withoutIterationTitle
public IssueFilter withoutIterationTitle(java.lang.String iterationTitle)
Add iteration_title to the 'not' filter entry.- Parameters:
iterationTitle- the title of the iteration to add to the filter- Returns:
- the reference to this IssueFilter instance
-
withoutMilestoneId
public IssueFilter withoutMilestoneId(java.lang.Long milestoneId)
Add milestone_id to the 'not' filter entry.- Parameters:
milestoneId- the id of the milestone to add to the filter- Returns:
- the reference to this IssueFilter instance
-
withoutMilestone
public IssueFilter withoutMilestone(java.lang.String milestone)
Add milestone to the 'not' filter entry.- Parameters:
milestone- the title of the milestone to add to the filter- Returns:
- the reference to this IssueFilter instance
-
getQueryParams
public GitLabForm getQueryParams(int page, int perPage)
-
getQueryParams
public GitLabForm getQueryParams()
-
-