com.atlassian.bamboo.build
Class JiraIssueResultsManagerImpl

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

public class JiraIssueResultsManagerImpl
extends java.lang.Object
implements JiraIssueResultsManager


Field Summary
 
Fields inherited from interface com.atlassian.bamboo.build.JiraIssueResultsManager
DEFAULT_MAX_BUILDS
 
Constructor Summary
JiraIssueResultsManagerImpl()
           
 
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 setBuildManager(BuildManager buildManager)
           
 void setBuildResultsSummaryManager(BuildResultsSummaryManager buildResultsSummaryManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraIssueResultsManagerImpl

public JiraIssueResultsManagerImpl()
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

setBuildResultsSummaryManager

public void setBuildResultsSummaryManager(BuildResultsSummaryManager buildResultsSummaryManager)

setBuildManager

public void setBuildManager(BuildManager buildManager)


Copyright © 2010 Atlassian. All Rights Reserved.