Class AttachmentExtractedTextExtractor
- java.lang.Object
-
- com.atlassian.confluence.search.lucene.extractor.AttachmentExtractedTextExtractor
-
- All Implemented Interfaces:
com.atlassian.bonnie.search.Extractor
@Deprecated @Internal public class AttachmentExtractedTextExtractor extends Object implements com.atlassian.bonnie.search.Extractor
Deprecated.since 7.14 useAttachmentExtractedTextExtractorinstead.Attempts to add an attachment extracted text into default searchable text if it is available, otherwise requests a text extraction, wait for its completion and reattempt.- Since:
- 6.5
-
-
Constructor Summary
Constructors Constructor Description AttachmentExtractedTextExtractor()Deprecated.Default constructor needed by plugin system.AttachmentExtractedTextExtractor(AttachmentExtractedTextManager attachmentExtractedTextManager, AttachmentStatusManager attachmentStatusManager, ApplicationStatusService applicationStatusService, AttachmentTextExtractionService remoteAttachmentTextExtractionService, Function<Attachment,Boolean> shouldExtractChecker)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddFields(org.apache.lucene.document.Document document, StringBuffer defaultSearchableText, com.atlassian.bonnie.Searchable searchable)Deprecated.voidsetApplicationStatusService(ApplicationStatusService applicationStatusService)Deprecated.Is called by plugin system that injects application status service into this objectvoidsetAttachmentExtractedTextManager(AttachmentExtractedTextManager attachmentExtractedTextManager)Deprecated.Is called by plugin system that injects attachment extracted text manager into this object.voidsetAttachmentStatusManager(AttachmentStatusManager attachmentStatusManager)Deprecated.Is called by plugin system that injects attachment status manager into this objectvoidsetPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)Deprecated.Is called by plugin system that injects plugin accessor into this objectvoidsetRemoteAttachmentTextExtractionService(AttachmentTextExtractionService remoteAttachmentTextExtractionService)Deprecated.Is called by plugin system that injects attachment text extraction service into this objectvoidsetSizeLimit(long sizeLimit)Deprecated.
-
-
-
Constructor Detail
-
AttachmentExtractedTextExtractor
public AttachmentExtractedTextExtractor()
Deprecated.Default constructor needed by plugin system.
-
AttachmentExtractedTextExtractor
public AttachmentExtractedTextExtractor(AttachmentExtractedTextManager attachmentExtractedTextManager, AttachmentStatusManager attachmentStatusManager, ApplicationStatusService applicationStatusService, AttachmentTextExtractionService remoteAttachmentTextExtractionService, Function<Attachment,Boolean> shouldExtractChecker)
Deprecated.
-
-
Method Detail
-
setAttachmentExtractedTextManager
public void setAttachmentExtractedTextManager(AttachmentExtractedTextManager attachmentExtractedTextManager)
Deprecated.Is called by plugin system that injects attachment extracted text manager into this object.
-
setAttachmentStatusManager
public void setAttachmentStatusManager(AttachmentStatusManager attachmentStatusManager)
Deprecated.Is called by plugin system that injects attachment status manager into this object
-
setApplicationStatusService
public void setApplicationStatusService(ApplicationStatusService applicationStatusService)
Deprecated.Is called by plugin system that injects application status service into this object
-
setRemoteAttachmentTextExtractionService
public void setRemoteAttachmentTextExtractionService(AttachmentTextExtractionService remoteAttachmentTextExtractionService)
Deprecated.Is called by plugin system that injects attachment text extraction service into this object
-
setPluginAccessor
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
Deprecated.Is called by plugin system that injects plugin accessor into this object
-
setSizeLimit
public void setSizeLimit(long sizeLimit)
Deprecated.
-
addFields
public void addFields(org.apache.lucene.document.Document document, StringBuffer defaultSearchableText, com.atlassian.bonnie.Searchable searchable)Deprecated.- Specified by:
addFieldsin interfacecom.atlassian.bonnie.search.Extractor
-
-