@Internal public class AttachmentExtractedTextExtractor extends Object implements com.atlassian.bonnie.search.Extractor
Constructor and Description |
---|
AttachmentExtractedTextExtractor()
Default constructor needed by plugin system.
|
AttachmentExtractedTextExtractor(AttachmentExtractedTextManager attachmentExtractedTextManager,
AttachmentStatusManager attachmentStatusManager,
ApplicationStatusService applicationStatusService,
AttachmentTextExtractionService remoteAttachmentTextExtractionService,
Function<Attachment,Boolean> shouldExtractChecker) |
Modifier and Type | Method and Description |
---|---|
void |
addFields(org.apache.lucene.document.Document document,
StringBuffer defaultSearchableText,
com.atlassian.bonnie.Searchable searchable) |
void |
setApplicationStatusService(ApplicationStatusService applicationStatusService)
Is called by plugin system that injects application status service into this object
|
void |
setAttachmentExtractedTextManager(AttachmentExtractedTextManager attachmentExtractedTextManager)
Is called by plugin system that injects attachment extracted text manager into this object.
|
void |
setAttachmentStatusManager(AttachmentStatusManager attachmentStatusManager)
Is called by plugin system that injects attachment status manager into this object
|
void |
setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
Is called by plugin system that injects plugin accessor into this object
|
void |
setRemoteAttachmentTextExtractionService(AttachmentTextExtractionService remoteAttachmentTextExtractionService)
Is called by plugin system that injects attachment text extraction service into this object
|
void |
setSizeLimit(long sizeLimit) |
public AttachmentExtractedTextExtractor()
public AttachmentExtractedTextExtractor(AttachmentExtractedTextManager attachmentExtractedTextManager, AttachmentStatusManager attachmentStatusManager, ApplicationStatusService applicationStatusService, AttachmentTextExtractionService remoteAttachmentTextExtractionService, Function<Attachment,Boolean> shouldExtractChecker)
public void setAttachmentExtractedTextManager(AttachmentExtractedTextManager attachmentExtractedTextManager)
public void setAttachmentStatusManager(AttachmentStatusManager attachmentStatusManager)
public void setApplicationStatusService(ApplicationStatusService applicationStatusService)
public void setRemoteAttachmentTextExtractionService(AttachmentTextExtractionService remoteAttachmentTextExtractionService)
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
public void setSizeLimit(long sizeLimit)
public void addFields(org.apache.lucene.document.Document document, StringBuffer defaultSearchableText, com.atlassian.bonnie.Searchable searchable)
addFields
in interface com.atlassian.bonnie.search.Extractor
Copyright © 2003–2021 Atlassian. All rights reserved.