com.atlassian.jira.issue.index
Class DefaultCommentDocumentFactory

java.lang.Object
  extended by com.atlassian.jira.issue.index.DefaultCommentDocumentFactory
All Implemented Interfaces:
EntityDocumentFactory<Comment>, CommentDocumentFactory, com.google.common.base.Function<Comment,com.atlassian.fugue.Option<org.apache.lucene.document.Document>>

public class DefaultCommentDocumentFactory
extends Object
implements CommentDocumentFactory


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.index.EntityDocumentFactory
EntityDocumentFactory.EntityDocumentBuilder<T,C extends EntityDocumentFactory.EntityDocumentBuilder<T,C>>
 
Constructor Summary
DefaultCommentDocumentFactory(SearchExtractorRegistrationManager searchExtractorManager)
           
 
Method Summary
 com.atlassian.fugue.Option<org.apache.lucene.document.Document> apply(Comment comment)
           
 org.apache.lucene.index.Term getIdentifyingTerm(Comment comment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Constructor Detail

DefaultCommentDocumentFactory

public DefaultCommentDocumentFactory(SearchExtractorRegistrationManager searchExtractorManager)
Method Detail

apply

public com.atlassian.fugue.Option<org.apache.lucene.document.Document> apply(Comment comment)
Specified by:
apply in interface com.google.common.base.Function<Comment,com.atlassian.fugue.Option<org.apache.lucene.document.Document>>

getIdentifyingTerm

public org.apache.lucene.index.Term getIdentifyingTerm(Comment comment)
Specified by:
getIdentifyingTerm in interface CommentDocumentFactory


Copyright © 2002-2014 Atlassian. All Rights Reserved.