com.atlassian.greenhopper.service.issue
Class IssueDataFieldSelector

java.lang.Object
  extended by com.atlassian.greenhopper.service.issue.IssueDataFieldSelector
All Implemented Interfaces:
java.io.Serializable, org.apache.lucene.document.FieldSelector

public class IssueDataFieldSelector
extends java.lang.Object
implements org.apache.lucene.document.FieldSelector

Field selector to restrict the amount of information that's extracted from Lucene. In addition to any fields specified by the callback, we also fetch issueId and issueKey.

Author:
ahennecke
See Also:
Serialized Form

Constructor Summary
IssueDataFieldSelector(java.util.Set<java.lang.String> fieldNames)
           
 
Method Summary
 org.apache.lucene.document.FieldSelectorResult accept(java.lang.String fieldName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssueDataFieldSelector

public IssueDataFieldSelector(java.util.Set<java.lang.String> fieldNames)
Method Detail

accept

public org.apache.lucene.document.FieldSelectorResult accept(java.lang.String fieldName)
Specified by:
accept in interface org.apache.lucene.document.FieldSelector


Copyright © 2007-2012 Atlassian. All Rights Reserved.