public class LocalAttachmentTextExtractionService extends Object implements AttachmentTextExtractionService, org.springframework.beans.factory.DisposableBean
| Constructor and Description |
|---|
LocalAttachmentTextExtractionService(BiFunction<Long,Integer,AttachmentTextExtraction> textExtractionFunction) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
CompletionStage<AttachmentTextExtraction> |
submit(long attachmentId,
int version)
Submit a text extraction task for an attachment of the provided id and version.
|
public LocalAttachmentTextExtractionService(BiFunction<Long,Integer,AttachmentTextExtraction> textExtractionFunction)
public CompletionStage<AttachmentTextExtraction> submit(long attachmentId, int version)
AttachmentTextExtractionServicesubmit in interface AttachmentTextExtractionServiceattachmentId - attachment idversion - attachment versionCompletionStage describing AttachmentTextExtraction.Copyright © 2003–2017 Atlassian. All rights reserved.