Package com.atlassian.jira.index
Interface EntityDocumentFactory<T extends WithId>
- All Known Subinterfaces:
ChangeHistoryDocumentFactory,CommentDocumentFactory,IssueDocumentFactory,RelatedEntityDocumentFactory<T>,WorklogDocumentFactory
- All Known Implementing Classes:
DefaultChangeHistoryDocumentFactory,DefaultCommentDocumentFactory,DefaultIssueDocumentFactory,DefaultWorklogDocumentFactory
Deprecated, for removal: This API element is subject to removal in a future version.
since 10.4 for removal. No replacement for this interface.
Converts provided entity to lucene documents for indexing
- Since:
- v6.2
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classEntityDocumentFactory.EntityDocumentBuilder<T extends WithId,C extends EntityDocumentFactory.EntityDocumentBuilder<T, C>> Deprecated, for removal: This API element is subject to removal in a future version. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LongDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionOptional<org.apache.lucene.document.Document>createDocument(EntityWithVersion<T> entity) Deprecated, for removal: This API element is subject to removal in a future version.default Map<EntityWithVersion<T>,Optional<org.apache.lucene.document.Document>> createDocuments(List<EntityWithVersion<T>> entities) Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
ENTITY_VERSION_ZERO
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
createDocument
Deprecated, for removal: This API element is subject to removal in a future version. -
createDocuments
default Map<EntityWithVersion<T>,Optional<org.apache.lucene.document.Document>> createDocuments(List<EntityWithVersion<T>> entities) Deprecated, for removal: This API element is subject to removal in a future version.
-