com.atlassian.bamboo.build
Interface JiraIssueResultsManager

All Known Implementing Classes:
JiraIssueResultsManagerImpl, LuceneBasedJiraIssueResultsManagerImpl

public interface JiraIssueResultsManager

A manager to search for builds for given JIRA parameters


Field Summary
static int DEFAULT_MAX_BUILDS
           
 
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
 

Field Detail

DEFAULT_MAX_BUILDS

static final int DEFAULT_MAX_BUILDS
See Also:
Constant Field Values
Method Detail

findBuildResultsByJiraIssueKey

@NotNull
java.util.List<? extends ResultsSummary> findBuildResultsByJiraIssueKey(@Nullable
                                                                                java.util.List<java.lang.String> issueKeys)
Finds a list of Build Results given issue keys

Parameters:
issueKeys -
Returns:
List of ResultsSummary. Empty if no matches

findBuildResultsByProjectKey

@NotNull
java.util.List<? extends ResultsSummary> findBuildResultsByProjectKey(@NotNull
                                                                              java.lang.String projectKey)
Finds build results given a project key

Parameters:
projectKey -
Returns:

findPlanKeysByJiraProjectKey

@NotNull
java.util.Collection<java.lang.String> findPlanKeysByJiraProjectKey(@NotNull
                                                                            java.lang.String projectKey)
Returns a list of plans that's associated with

Parameters:
projectKey -
Returns:

findPlanKeysByIssueKeys

@NotNull
java.util.Collection<java.lang.String> findPlanKeysByIssueKeys(@NotNull
                                                                       java.util.List<java.lang.String> issueKeys)
Returns:

findJiraIssuesForBuildResults

@NotNull
java.util.List<LinkedJiraIssue> findJiraIssuesForBuildResults(@NotNull
                                                                      java.util.List<ResultsSummary> buildResults)
Finds a list of jira issues linked to the given build results

Parameters:
{@link - List} of ResultsSummary
Returns:
List of LinkedJiraIssue

findJiraIssuesForBuild

@NotNull
java.util.List<LinkedJiraIssue> findJiraIssuesForBuild(@NotNull
                                                               Plan plan)
Finds a list of jira issues linked to a particular build

Parameters:
plan -
Returns:
List of LinkedJiraIssue


Copyright © 2010 Atlassian. All Rights Reserved.