public class DefaultAttachmentDataBulkImport extends Object implements AttachmentDataBulkImport
Constructor and Description |
---|
DefaultAttachmentDataBulkImport(BulkAttachmentOperations operations,
AttachmentStore store,
IssueManager im) |
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.
|
public DefaultAttachmentDataBulkImport(BulkAttachmentOperations operations, AttachmentStore store, IssueManager im)
public void importAttachmentDataFrom(ReadOnlyFileBasedAttachmentStore source, int concurrency, com.atlassian.fugue.Option<com.atlassian.util.concurrent.Effect<Attachment>> onCompleteAttachment) throws AttachmentRuntimeException
AttachmentDataBulkImport
importAttachmentDataFrom
in interface AttachmentDataBulkImport
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.