com.atlassian.bamboo.jira.jiraissues
Class JiraIssueManagerImpl

java.lang.Object
  extended by com.atlassian.bamboo.jira.jiraissues.JiraIssueManagerImpl
All Implemented Interfaces:
JiraIssueManager

public class JiraIssueManagerImpl
extends java.lang.Object
implements JiraIssueManager


Constructor Summary
JiraIssueManagerImpl(JiraRemoteIssueManager jiraRemoteIssueManager, java.util.concurrent.ExecutorService executorService)
           
 
Method Summary
 java.util.Collection<LinkedJiraIssue> getJiraIssueDetails(java.util.Collection<LinkedJiraIssue> linkedJiraIssues)
          Gets a fully populated collection of issues from JIRA via SOAP RPC given a collection of linked jira issues for the UI.
 void preloadJiraIssueDetails(java.util.Collection<LinkedJiraIssue> jiraIssues)
          Loads these issues in the background to ensure they are in the cache later on.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraIssueManagerImpl

public JiraIssueManagerImpl(JiraRemoteIssueManager jiraRemoteIssueManager,
                            java.util.concurrent.ExecutorService executorService)
Method Detail

getJiraIssueDetails

@NotNull
public java.util.Collection<LinkedJiraIssue> getJiraIssueDetails(@Nullable
                                                                         java.util.Collection<LinkedJiraIssue> linkedJiraIssues)
Description copied from interface: JiraIssueManager
Gets a fully populated collection of issues from JIRA via SOAP RPC given a collection of linked jira issues for the UI.

Specified by:
getJiraIssueDetails in interface JiraIssueManager
Returns:
Collection of JiraIssueDetailss.

preloadJiraIssueDetails

public void preloadJiraIssueDetails(java.util.Collection<LinkedJiraIssue> jiraIssues)
Description copied from interface: JiraIssueManager
Loads these issues in the background to ensure they are in the cache later on. Use sparingly, if the cache gets set small, this results in uneccesary requests to the jira server ()

Specified by:
preloadJiraIssueDetails in interface JiraIssueManager


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.