public interface AttachmentDataBulkImport
Modifier and Type | Method and Description |
---|---|
void |
importAttachmentDataFrom(ReadOnlyFileBasedAttachmentStore source,
int concurrency,
com.atlassian.fugue.Option<com.atlassian.util.concurrent.Effect<Attachment>> onCompleteAttachment)
Import attachment data from the specified file system source with specified concurrency, and an optional effect
that is run after each attachment is imported (e.g.
|
void importAttachmentDataFrom(ReadOnlyFileBasedAttachmentStore source, int concurrency, com.atlassian.fugue.Option<com.atlassian.util.concurrent.Effect<Attachment>> onCompleteAttachment) throws AttachmentRuntimeException
source
- The file system source of attachment dataconcurrency
- The number of concurrent attachment importsonCompleteAttachment
- Optional effect that is run after each attachment is imported.AttachmentRuntimeException
- If there was an error.Copyright © 2002-2015 Atlassian. All Rights Reserved.