com.atlassian.bamboo.build
Class LuceneBasedJiraIssueResultsManagerImpl

java.lang.Object
  extended by com.atlassian.bamboo.build.LuceneBasedJiraIssueResultsManagerImpl
All Implemented Interfaces:
JiraIssueResultsManager

public class LuceneBasedJiraIssueResultsManagerImpl
extends java.lang.Object
implements JiraIssueResultsManager


Field Summary
 
Fields inherited from interface com.atlassian.bamboo.build.JiraIssueResultsManager
DEFAULT_MAX_BUILDS
 
Constructor Summary
LuceneBasedJiraIssueResultsManagerImpl()
           
 
Method Summary
 java.util.List<? extends BuildResultsSummary> findBuildResultsByJiraIssueKey(java.util.List<java.lang.String> issueKeys)
          Finds a list of Build Results given issue keys
 java.util.List<? extends BuildResultsSummary> findBuildResultsByProjectKey(java.lang.String projectKey)
          Finds build results given a project key
 java.util.List<LinkedJiraIssue> findJiraIssuesForBuild(Build build)
          Finds a list of jira issues linked to a particular build
 java.util.List<LinkedJiraIssue> findJiraIssuesForBuildResults(java.util.List<BuildResultsSummary> buildResults)
          Finds a list of jira issues linked to the given build results
 java.util.Collection<java.lang.String> findPlanKeysByIssueKeys(java.util.List<java.lang.String> issueKeys)
           
 java.util.Collection<java.lang.String> findPlanKeysByJiraProjectKey(java.lang.String projectKey)
          Returns a list of plans that's associated with
 void setBuildResultsSummaryManager(BuildResultsSummaryManager buildResultsSummaryManager)
           
 void setIndexedBuildResultsSearcher(IndexedBuildResultsSearcher indexedBuildResultsSearcher)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneBasedJiraIssueResultsManagerImpl

public LuceneBasedJiraIssueResultsManagerImpl()
Method Detail

findBuildResultsByJiraIssueKey

@NotNull
public java.util.List<? extends BuildResultsSummary> findBuildResultsByJiraIssueKey(@Nullable
                                                                                            java.util.List<java.lang.String> issueKeys)
Description copied from interface: JiraIssueResultsManager
Finds a list of Build Results given issue keys

Specified by:
findBuildResultsByJiraIssueKey in interface JiraIssueResultsManager
Returns:
List of BuildResultsSummary. Empty if no matches

findBuildResultsByProjectKey

@NotNull
public java.util.List<? extends BuildResultsSummary> findBuildResultsByProjectKey(@NotNull
                                                                                          java.lang.String projectKey)
Description copied from interface: JiraIssueResultsManager
Finds build results given a project key

Specified by:
findBuildResultsByProjectKey in interface JiraIssueResultsManager
Returns:

findPlanKeysByJiraProjectKey

@NotNull
public java.util.Collection<java.lang.String> findPlanKeysByJiraProjectKey(@NotNull
                                                                                   java.lang.String projectKey)
Description copied from interface: JiraIssueResultsManager
Returns a list of plans that's associated with

Specified by:
findPlanKeysByJiraProjectKey in interface JiraIssueResultsManager
Returns:

findPlanKeysByIssueKeys

@NotNull
public java.util.Collection<java.lang.String> findPlanKeysByIssueKeys(@NotNull
                                                                              java.util.List<java.lang.String> issueKeys)
Specified by:
findPlanKeysByIssueKeys in interface JiraIssueResultsManager
Returns:

findJiraIssuesForBuildResults

@NotNull
public java.util.List<LinkedJiraIssue> findJiraIssuesForBuildResults(@NotNull
                                                                             java.util.List<BuildResultsSummary> buildResults)
Description copied from interface: JiraIssueResultsManager
Finds a list of jira issues linked to the given build results

Specified by:
findJiraIssuesForBuildResults in interface JiraIssueResultsManager
Returns:
List of LinkedJiraIssue

findJiraIssuesForBuild

@NotNull
public java.util.List<LinkedJiraIssue> findJiraIssuesForBuild(@NotNull
                                                                      Build build)
Description copied from interface: JiraIssueResultsManager
Finds a list of jira issues linked to a particular build

Specified by:
findJiraIssuesForBuild in interface JiraIssueResultsManager
Returns:
List of LinkedJiraIssue

setIndexedBuildResultsSearcher

public void setIndexedBuildResultsSearcher(IndexedBuildResultsSearcher indexedBuildResultsSearcher)

setBuildResultsSummaryManager

public void setBuildResultsSummaryManager(BuildResultsSummaryManager buildResultsSummaryManager)


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.