public class EpicFilter
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
EpicFilter.EpicField |
| Constructor and Description |
|---|
EpicFilter() |
| Modifier and Type | Method and Description |
|---|---|
GitLabApiForm |
getQueryParams()
Get the query params specified by this filter.
|
EpicFilter |
withAuthorId(java.lang.Long authorId)
Add 'author id' filter.
|
EpicFilter |
withAuthorUsername(java.lang.String authorUsername)
Add 'author username' filter.
|
EpicFilter |
withCreatedAfter(java.util.Date createdAfter)
Add 'created after' filter.
|
EpicFilter |
withIncludeAncestorGroups(java.lang.Boolean includeAncestorGroups)
Add 'include ancestor groups' filter.
|
EpicFilter |
withIncludeDescendantGroups(java.lang.Boolean includeDescendantGroups)
Add 'include descendant groups' filter.
|
EpicFilter |
withLabels(java.lang.String labels)
Add 'labels' filter.
|
EpicFilter |
withMyReactionEmoji(java.lang.String myReactionEmoji)
Add 'my reaction emoji' filter.
|
EpicFilter |
withNot(EpicFilter.EpicField field,
java.lang.Object value)
Add 'not' filter entry.
|
EpicFilter |
withNot(java.util.Map<EpicFilter.EpicField,java.lang.Object> not)
Add 'not' filter.
|
EpicFilter |
withOrderBy(Constants.EpicOrderBy orderBy)
Add 'order by' filter.
|
EpicFilter |
withoutAuthorId(java.lang.Long authorId)
Add author_id to the 'not' filter entry.
|
EpicFilter |
withoutAuthorUsername(java.lang.String authorUsername)
Add author_username to the 'not' filter entry.
|
EpicFilter |
withoutLabels(java.lang.String... labels)
Add labels to the 'not' filter entry.
|
EpicFilter |
withSearch(java.lang.String search)
Add 'search' filter.
|
EpicFilter |
withSortOrder(Constants.SortOrder sort)
Add 'sort' filter.
|
EpicFilter |
withState(AbstractEpic.EpicState state)
Add 'state' filter.
|
EpicFilter |
withUpdatedAfter(java.util.Date updatedAfter)
Add 'updated after' filter.
|
EpicFilter |
withUpdatedBefore(java.util.Date updatedBefore)
Add 'updated before' filter.
|
public EpicFilter withAuthorId(java.lang.Long authorId)
authorId - the author id filterpublic EpicFilter withAuthorUsername(java.lang.String authorUsername)
authorUsername - the 'author username' filterpublic EpicFilter withLabels(java.lang.String labels)
labels - the labels filterpublic EpicFilter withOrderBy(Constants.EpicOrderBy orderBy)
orderBy - the 'order by' filterpublic EpicFilter withSortOrder(Constants.SortOrder sort)
sort - sort direction, ASC or DESCpublic EpicFilter withSearch(java.lang.String search)
search - the 'search' filterpublic EpicFilter withState(AbstractEpic.EpicState state)
state - the 'state' filterpublic EpicFilter withCreatedAfter(java.util.Date createdAfter)
createdAfter - the 'created after' filterpublic EpicFilter withUpdatedAfter(java.util.Date updatedAfter)
updatedAfter - the 'updated after' filterpublic EpicFilter withUpdatedBefore(java.util.Date updatedBefore)
updatedBefore - the 'updated before' filterpublic EpicFilter withIncludeAncestorGroups(java.lang.Boolean includeAncestorGroups)
includeAncestorGroups - the 'include ancestor groups' filterpublic EpicFilter withIncludeDescendantGroups(java.lang.Boolean includeDescendantGroups)
includeDescendantGroups - the 'include descendant groups' filterpublic EpicFilter withMyReactionEmoji(java.lang.String myReactionEmoji)
myReactionEmoji - the 'my reaction emoji' filterpublic EpicFilter withNot(java.util.Map<EpicFilter.EpicField,java.lang.Object> not)
not - the 'not' filterpublic EpicFilter withoutAuthorId(java.lang.Long authorId)
authorId - the id of the author to add to the filterpublic EpicFilter withoutAuthorUsername(java.lang.String authorUsername)
authorUsername - the username of the author to add to the filterpublic EpicFilter withoutLabels(java.lang.String... labels)
labels - the labels to add to the filterpublic EpicFilter withNot(EpicFilter.EpicField field, java.lang.Object value)
field - the field to be added to the 'not' valuevalue - the value for the entrypublic GitLabApiForm getQueryParams()