@PublicApi public class IssueSearchResultsFactory extends Object
Modifier and Type | Method and Description |
---|---|
static SearchResults<Issue> |
create(List<Issue> issuesInPage,
int totalIssueCount,
int maxIssueCount,
int startIndex)
Construct searchResults using the issues that should be displayed, and the 'total' number of issues.
|
static SearchResults<Issue> |
create(List<Issue> issuesInPage,
int totalIssueCount,
PagerFilter pagerFilter)
Construct searchResults using the issues that should be displayed, and the 'total' number of issues.
|
static SearchResults<Issue> |
create(List<Issue> issues,
PagerFilter<Issue> pagerFilter)
Construct searchResults using a list of issues.
|
public static SearchResults<Issue> create(List<Issue> issues, PagerFilter<Issue> pagerFilter)
#getIssues()
will
be a subset of the issues passed in.issues
- A list of Issue
objectspagerFilter
- Representing which issues to limit the results topublic static SearchResults<Issue> create(List<Issue> issuesInPage, int totalIssueCount, PagerFilter pagerFilter)
issuesInPage
- A list of Issue
objectstotalIssueCount
- The count of the number of issues returnedpagerFilter
- Representing the users preference for pagingpublic static SearchResults<Issue> create(List<Issue> issuesInPage, int totalIssueCount, int maxIssueCount, int startIndex)
issuesInPage
- A list of Issue
objectstotalIssueCount
- The count of the number of issues returnedmaxIssueCount
- The maximum number of issues to include in the searchstartIndex
- The index of the first issue in the searchCopyright © 2002-2021 Atlassian. All Rights Reserved.
View cookie preferences