Package com.atlassian.jira.issue.index
Class DefaultWorklogDocumentFactory
java.lang.Object
com.atlassian.jira.issue.index.DefaultWorklogDocumentFactory
- All Implemented Interfaces:
EntityDocumentFactory<Worklog>
,RelatedEntityDocumentFactory<Worklog>
,WorklogDocumentFactory
-
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
ConstructorsConstructorDescriptionDefaultWorklogDocumentFactory
(SearchExtractorRegistrationManager searchExtractorManager) -
Method Summary
Modifier and TypeMethodDescriptionOptional<org.apache.lucene.document.Document>
createDocument
(EntityWithVersion<Worklog> worklogWithVersion) org.apache.lucene.index.Term
getIdentifyingTerm
(Worklog worklog) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.jira.index.EntityDocumentFactory
createDocuments
-
Constructor Details
-
DefaultWorklogDocumentFactory
-
-
Method Details
-
createDocument
public Optional<org.apache.lucene.document.Document> createDocument(EntityWithVersion<Worklog> worklogWithVersion) - Specified by:
createDocument
in interfaceEntityDocumentFactory<Worklog>
-
getIdentifyingTerm
- Specified by:
getIdentifyingTerm
in interfaceRelatedEntityDocumentFactory<Worklog>
-