public class LuceneBasedJiraIssueResultsManagerImpl extends Object implements JiraIssueResultsManager
Constructor and Description |
---|
LuceneBasedJiraIssueResultsManagerImpl() |
Modifier and Type | Method and Description |
---|---|
PartialList<ResultsSummary> |
findBuildResultsByJiraIssueKey(List<String> issueKeys,
int maxResults)
Finds a list of completed Build Results given issue keys
|
PartialList<? extends ResultsSummary> |
findBuildResultsByProjectKey(String projectKey,
int maxResults)
Finds completed Build Results given a project key
|
PartialList<? extends ResultsSummary> |
findBuildResultsByProjectKeys(List<String> projectKeys,
int maxResults)
Finds build results given a project keys
|
List<LinkedJiraIssue> |
findJiraIssuesForBuild(ImmutablePlan plan)
Deprecated.
replaced by
findJiraIssuesForPlanKey(PlanKey) |
List<LinkedJiraIssue> |
findJiraIssuesForBuildResults(List<ResultsSummary> buildResults)
Finds a list of jira issues linked to the given build results
|
List<LinkedJiraIssue> |
findJiraIssuesForPlanKey(PlanKey planKey)
Finds a list of jira issues linked to a particular build key
|
Collection<String> |
findPlanKeysByIssueKeys(List<String> issueKeys) |
Collection<String> |
findPlanKeysByJiraProjectKey(String projectKey)
Returns a list of plans that's associated with
|
Collection<String> |
findPlanKeysByJiraProjectKeys(List<String> projectKeys)
Returns a list of plans that's associated with
|
int |
getNumberOfRelatedBuildsByIssueKey(List<String> issueKeys)
Counts the number of completed Build Results related to these issues
|
void |
setBuildResultsSummaryManager(ResultsSummaryManager resultsSummaryManager) |
void |
setIndexedBuildResultsSearcher(IndexedBuildResultsSearcher indexedBuildResultsSearcher) |
public LuceneBasedJiraIssueResultsManagerImpl()
@NotNull public PartialList<ResultsSummary> findBuildResultsByJiraIssueKey(@Nullable List<String> issueKeys, int maxResults)
JiraIssueResultsManager
findBuildResultsByJiraIssueKey
in interface JiraIssueResultsManager
List
of ResultsSummary
. Empty if no matchespublic int getNumberOfRelatedBuildsByIssueKey(@Nullable List<String> issueKeys)
JiraIssueResultsManager
getNumberOfRelatedBuildsByIssueKey
in interface JiraIssueResultsManager
@NotNull public PartialList<? extends ResultsSummary> findBuildResultsByProjectKey(@NotNull String projectKey, int maxResults)
JiraIssueResultsManager
findBuildResultsByProjectKey
in interface JiraIssueResultsManager
@NotNull public PartialList<? extends ResultsSummary> findBuildResultsByProjectKeys(@NotNull List<String> projectKeys, int maxResults)
JiraIssueResultsManager
findBuildResultsByProjectKeys
in interface JiraIssueResultsManager
@NotNull public Collection<String> findPlanKeysByJiraProjectKey(@NotNull String projectKey)
JiraIssueResultsManager
findPlanKeysByJiraProjectKey
in interface JiraIssueResultsManager
@NotNull public Collection<String> findPlanKeysByJiraProjectKeys(@NotNull List<String> projectKeys)
JiraIssueResultsManager
findPlanKeysByJiraProjectKeys
in interface JiraIssueResultsManager
@NotNull public Collection<String> findPlanKeysByIssueKeys(@NotNull List<String> issueKeys)
findPlanKeysByIssueKeys
in interface JiraIssueResultsManager
@NotNull public List<LinkedJiraIssue> findJiraIssuesForBuildResults(@NotNull List<ResultsSummary> buildResults)
JiraIssueResultsManager
findJiraIssuesForBuildResults
in interface JiraIssueResultsManager
buildResults
- List
of ResultsSummary
List
of LinkedJiraIssue
@Deprecated @NotNull public List<LinkedJiraIssue> findJiraIssuesForBuild(@NotNull ImmutablePlan plan)
findJiraIssuesForPlanKey(PlanKey)
JiraIssueResultsManager
findJiraIssuesForBuild
in interface JiraIssueResultsManager
plan
- Plan
List
of LinkedJiraIssue
@NotNull public List<LinkedJiraIssue> findJiraIssuesForPlanKey(@NotNull PlanKey planKey)
JiraIssueResultsManager
findJiraIssuesForPlanKey
in interface JiraIssueResultsManager
planKey
- key to build Plan
List
of LinkedJiraIssue
public void setIndexedBuildResultsSearcher(IndexedBuildResultsSearcher indexedBuildResultsSearcher)
public void setBuildResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.