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 ResultsSummary> findBuildResultsByJiraIssueKey(java.util.List<java.lang.String> issueKeys)
          Finds a list of Build Results given issue keys
 java.util.List<? extends ResultsSummary> findBuildResultsByProjectKey(java.lang.String projectKey)
          Finds build results given a project key
 java.util.List<LinkedJiraIssue> findJiraIssuesForBuild(Plan plan)
          Finds a list of jira issues linked to a particular build
 java.util.List<LinkedJiraIssue> findJiraIssuesForBuildResults(java.util.List<ResultsSummary> 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(ResultsSummaryManager resultsSummaryManager)
           
 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 ResultsSummary> 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 ResultsSummary. Empty if no matches

findBuildResultsByProjectKey

@NotNull
public java.util.List<? extends ResultsSummary> 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<ResultsSummary> 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
                                                                      Plan plan)
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(ResultsSummaryManager resultsSummaryManager)


Copyright © 2010 Atlassian. All Rights Reserved.