@Internal public class AttachmentExtractedTextExtractor extends Object implements com.atlassian.bonnie.search.Extractor
Modifier and Type | Field and Description |
---|---|
static String |
ATTACHMENT_EXTRACTED_TEXT_FEATURE_KEY |
Constructor and Description |
---|
AttachmentExtractedTextExtractor()
Default constructor needed by plugin system.
|
AttachmentExtractedTextExtractor(AttachmentExtractedTextManager attachmentExtractedTextManager,
AttachmentStatusManager attachmentStatusManager,
AttachmentTextExtractionService remoteAttachmentTextExtractionService,
Function<Attachment,Boolean> shouldExtractChecker,
Function<String,Boolean> featureChecker) |
Modifier and Type | Method and Description |
---|---|
void |
addFields(org.apache.lucene.document.Document document,
StringBuffer defaultSearchableText,
com.atlassian.bonnie.Searchable searchable) |
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 |
setDarkFeaturesManager(DarkFeaturesManager darkFeaturesManager) |
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
|
public static final String ATTACHMENT_EXTRACTED_TEXT_FEATURE_KEY
public AttachmentExtractedTextExtractor()
public AttachmentExtractedTextExtractor(AttachmentExtractedTextManager attachmentExtractedTextManager, AttachmentStatusManager attachmentStatusManager, AttachmentTextExtractionService remoteAttachmentTextExtractionService, Function<Attachment,Boolean> shouldExtractChecker, Function<String,Boolean> featureChecker)
public void setAttachmentExtractedTextManager(AttachmentExtractedTextManager attachmentExtractedTextManager)
public void setAttachmentStatusManager(AttachmentStatusManager attachmentStatusManager)
public void setRemoteAttachmentTextExtractionService(AttachmentTextExtractionService remoteAttachmentTextExtractionService)
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
public void setDarkFeaturesManager(DarkFeaturesManager darkFeaturesManager)
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–2017 Atlassian. All rights reserved.