com.atlassian.jira.issue.index
Class DefaultCommentRetriever

java.lang.Object
  extended by com.atlassian.jira.issue.index.DefaultCommentRetriever
All Implemented Interfaces:
DefaultIssueIndexer.CommentRetriever, com.atlassian.util.concurrent.Function<Issue,List<Comment>>

public class DefaultCommentRetriever
extends Object
implements DefaultIssueIndexer.CommentRetriever


Constructor Summary
DefaultCommentRetriever(CommentManager commentManager)
           
 
Method Summary
 List<Comment> get(Issue issue)
          Resolves an output where an input is given.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCommentRetriever

public DefaultCommentRetriever(@NotNull
                               CommentManager commentManager)
Method Detail

get

public List<Comment> get(Issue issue)
Description copied from interface: Function
Resolves an output where an input is given.

Specified by:
get in interface com.atlassian.util.concurrent.Function<Issue,List<Comment>>
Parameters:
issue - an object of type D.
Returns:
the output of type R.


Copyright © 2002-2009 Atlassian. All Rights Reserved.