com.atlassian.jira.issue.views.util
Class IssueWriterHitCollector

java.lang.Object
  extended by org.apache.lucene.search.HitCollector
      extended by com.atlassian.jira.issue.statistics.util.DocumentHitCollector
          extended by com.atlassian.jira.issue.views.util.IssueWriterHitCollector

public abstract class IssueWriterHitCollector
extends DocumentHitCollector


Field Summary
protected  Writer writer
           
 
Fields inherited from class com.atlassian.jira.issue.statistics.util.DocumentHitCollector
searcher
 
Constructor Summary
IssueWriterHitCollector(org.apache.lucene.search.Searchable searcher, Writer writer, IssueFactory issueFactory)
           
 
Method Summary
 void collect(org.apache.lucene.document.Document d)
           
protected abstract  void writeIssue(Issue issue, Writer writer)
           
 
Methods inherited from class com.atlassian.jira.issue.statistics.util.DocumentHitCollector
collect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

writer

protected final Writer writer
Constructor Detail

IssueWriterHitCollector

public IssueWriterHitCollector(org.apache.lucene.search.Searchable searcher,
                               Writer writer,
                               IssueFactory issueFactory)
Method Detail

collect

public void collect(org.apache.lucene.document.Document d)
Specified by:
collect in class DocumentHitCollector

writeIssue

protected abstract void writeIssue(Issue issue,
                                   Writer writer)
                            throws IOException
Throws:
IOException


Copyright © 2002-2009 Atlassian. All Rights Reserved.