public static abstract class

EntityDocumentFactory.EntityDocumentBuilder

extends Object
java.lang.Object
   ↳ com.atlassian.jira.index.EntityDocumentFactory.EntityDocumentBuilder<T, C extends com.atlassian.jira.index.EntityDocumentFactory.EntityDocumentBuilder<T, C>>

Summary

Fields
protected final Document doc
Protected Constructors
EntityDocumentBuilder(T entity, String indexName)
Public Methods
C addAllExtractors(Collection<EntitySearchExtractor<T>> extractors)
C addField(String name, String value, Field.Store store, Field.Index index)
C addKeywordWithDefault(String name, String value, String defaultValue)
C addKeywordWithDefault(String name, Long value, String defaultValue)
Option<Document> build()
Protected Methods
void fieldsAddedByExtractor(Set<String> fieldIds)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected final Document doc

Protected Constructors

protected EntityDocumentBuilder (T entity, String indexName)

Public Methods

public C addAllExtractors (Collection<EntitySearchExtractor<T>> extractors)

public C addField (String name, String value, Field.Store store, Field.Index index)

public C addKeywordWithDefault (String name, String value, String defaultValue)

public C addKeywordWithDefault (String name, Long value, String defaultValue)

public Option<Document> build ()

Protected Methods

protected void fieldsAddedByExtractor (Set<String> fieldIds)