Package com.atlassian.jira.issue.index
Class DefaultCommentDocumentFactory
java.lang.Object
com.atlassian.jira.issue.index.DefaultCommentDocumentFactory
- All Implemented Interfaces:
EntityDocumentFactory<Comment>,RelatedEntityDocumentFactory<Comment>,CommentDocumentFactory
@Deprecated(since="10.4",
forRemoval=true)
public class DefaultCommentDocumentFactory
extends Object
implements CommentDocumentFactory
Deprecated, for removal: This API element is subject to removal in a future version.
since 10.4 for removal. No replacement for this class.
- Since:
- v4.3
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.jira.index.EntityDocumentFactory
EntityDocumentFactory.EntityDocumentBuilder<T extends WithId,C extends EntityDocumentFactory.EntityDocumentBuilder<T, C>> -
Field Summary
Fields inherited from interface com.atlassian.jira.index.EntityDocumentFactory
ENTITY_VERSION_ZERO -
Constructor Summary
ConstructorsConstructorDescriptionDefaultCommentDocumentFactory(SearchExtractorRegistrationManager searchExtractorManager) Deprecated, 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<Comment> commentWithVersion) Deprecated, for removal: This API element is subject to removal in a future version.org.apache.lucene.index.TermgetIdentifyingTerm(Comment comment) Deprecated, for removal: This API element is subject to removal in a future version.Returns the field that is used to identify the entity in the index.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.jira.index.EntityDocumentFactory
createDocuments
-
Constructor Details
-
DefaultCommentDocumentFactory
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
createDocument
public Optional<org.apache.lucene.document.Document> createDocument(EntityWithVersion<Comment> commentWithVersion) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
createDocumentin interfaceEntityDocumentFactory<Comment>
-
getIdentifyingTerm
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:RelatedEntityDocumentFactoryReturns the field that is used to identify the entity in the index.- Specified by:
getIdentifyingTermin interfaceRelatedEntityDocumentFactory<Comment>- Returns:
- the field that is used to identify the entity in the index.
-