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)
AttachmentTextExtractionService
submit
in interface AttachmentTextExtractionService
attachmentId
- attachment idversion
- attachment versionCompletionStage
describing AttachmentTextExtraction
.Copyright © 2003–2020 Atlassian. All rights reserved.