com.atlassian.bamboo.index
Class FindLatestBuildResultHitCollector

java.lang.Object
  extended by org.apache.lucene.search.HitCollector
      extended by com.atlassian.bamboo.index.AbstractDocumentHitCollector
          extended by com.atlassian.bamboo.index.FindLatestBuildResultHitCollector

public class FindLatestBuildResultHitCollector
extends AbstractDocumentHitCollector

A hit collector that finds the latest build result summary for that query


Field Summary
 
Fields inherited from class com.atlassian.bamboo.index.AbstractDocumentHitCollector
searcher
 
Constructor Summary
FindLatestBuildResultHitCollector(BuildResultsSummaryDocumentFactory buildResultsSummaryDocumentFactory)
           
 
Method Summary
protected  void collect(org.apache.lucene.document.Document document)
           
 ResultsSummary getBuildResultsSummary()
           
 
Methods inherited from class com.atlassian.bamboo.index.AbstractDocumentHitCollector
collect, getSearcher, setSearcher
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindLatestBuildResultHitCollector

public FindLatestBuildResultHitCollector(BuildResultsSummaryDocumentFactory buildResultsSummaryDocumentFactory)
Method Detail

collect

protected void collect(@NotNull
                       org.apache.lucene.document.Document document)
Overrides:
collect in class AbstractDocumentHitCollector

getBuildResultsSummary

public ResultsSummary getBuildResultsSummary()


Copyright © 2010 Atlassian. All Rights Reserved.