Class FindIssuesRequest
Object
PagedRequest
FindIssuesRequest
- All Implemented Interfaces:
Serializable
The search criteria for issues.
Only parameters that are specified in this request and have not
null values are used for filtering.
All other parameters are ignored.
The returned issues satisfy all constraints that are specified in this search criteria.
By default a result containing 1000 issues is returned.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic enumThis enum identifies what the relation of the current user is with the issues to be retrieved.static enum -
Field Summary
Fields inherited from class PagedRequest
countLimit, limit, offset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FindIssuesRequest.Builderbuilder()protected booleanbooleanThe field on which the results are sorted.The sorting order of the results.The relation of the user with the issues to be returned.inthashCode()booleanWhether only open issues should be returned.voidsetOnlyOpenIssues(boolean onlyOpenIssues) Whether only open issues should be returned.voidsetSortField(FindIssuesRequest.SortField sortField) The field on which the results are sorted.voidsetSortOrder(SortOrder sortOrder) The sorting order of the results.voidsetUserRelation(FindIssuesRequest.IssueUserRelation userRelation) The relation of the user with the issues to be returned.toString()Methods inherited from class PagedRequest
getCountLimit, getLimit, getOffset, isPagingActive, setCountLimit, setLimit, setOffset
-
Constructor Details
-
FindIssuesRequest
public FindIssuesRequest()
-
-
Method Details
-
builder
-
getSortOrder
The sorting order of the results. -
getSortField
The field on which the results are sorted. Default isNAME. -
isOnlyOpenIssues
public boolean isOnlyOpenIssues()Whether only open issues should be returned. -
getUserRelation
The relation of the user with the issues to be returned. By default all issues for the current user will be returned. -
setSortOrder
The sorting order of the results. -
setSortField
The field on which the results are sorted. Default isNAME. -
setOnlyOpenIssues
public void setOnlyOpenIssues(boolean onlyOpenIssues) Whether only open issues should be returned. -
setUserRelation
The relation of the user with the issues to be returned. By default all issues for the current user will be returned. -
equals
- Overrides:
equalsin classPagedRequest
-
canEqual
- Overrides:
canEqualin classPagedRequest
-
hashCode
public int hashCode()- Overrides:
hashCodein classPagedRequest
-
toString
- Overrides:
toStringin classPagedRequest
-