Interface JiraIssueResultsManager

  • All Known Implementing Classes:
    JiraIssueResultsManagerImpl

    public interface JiraIssueResultsManager
    A manager to search for builds for given JIRA parameters
    • Method Detail

      • findBuildResultsByJiraIssueKey

        @NotNull
        @NotNull PartialList<ResultsSummary> findBuildResultsByJiraIssueKey​(@NotNull
                                                                            @NotNull List<String> issueKeys,
                                                                            int maxResults)
        Finds a list of completed Build Results given issue keys
        Parameters:
        issueKeys -
        maxResults -
        Returns:
        List of ResultsSummary. Empty if no matches
      • getNumberOfRelatedBuildsByIssueKey

        int getNumberOfRelatedBuildsByIssueKey​(@NotNull
                                               @NotNull List<String> issueKeys)
        Counts the number of completed Build Results related to these issues
        Parameters:
        issueKeys -
        Returns:
      • findBuildResultsByProjectKey

        @NotNull
        @NotNull PartialList<? extends ResultsSummary> findBuildResultsByProjectKey​(@NotNull
                                                                                    @NotNull String projectKey,
                                                                                    int maxResults)
        Finds completed Build Results given a project key
        Parameters:
        projectKey -
        maxResults -
        Returns:
      • findBuildResultsByProjectKeys

        @NotNull
        @NotNull PartialList<? extends ResultsSummary> findBuildResultsByProjectKeys​(@NotNull
                                                                                     @NotNull List<String> projectKeys,
                                                                                     int maxResults)
        Finds build results given a project keys
        Parameters:
        projectKeys -
        maxResults -
        Returns:
      • findPlanKeysByJiraProjectKey

        @NotNull
        @NotNull Collection<String> findPlanKeysByJiraProjectKey​(@NotNull
                                                                 @NotNull String projectKey)
        Returns a list of plans that's associated with
        Parameters:
        projectKey -
        Returns:
      • findPlanKeysByJiraProjectKeys

        @NotNull
        @NotNull Collection<String> findPlanKeysByJiraProjectKeys​(@NotNull
                                                                  @NotNull List<String> projectKeys)
        Returns a list of plans that's associated with
        Parameters:
        projectKeys -
        Returns:
      • findPlanKeysByIssueKeys

        @NotNull
        @NotNull Collection<String> findPlanKeysByIssueKeys​(@NotNull
                                                            @NotNull List<String> issueKeys)
        Returns:
      • findJiraIssuesForPlanKey

        @NotNull
        @NotNull List<LinkedJiraIssue> findJiraIssuesForPlanKey​(@NotNull
                                                                @NotNull PlanKey planKey)
        Finds a list of jira issues linked to a particular build key
        Parameters:
        planKey - key to build Plan
        Returns:
        List of LinkedJiraIssue