public class ContentEntityMigrationBatchTask extends Object implements BatchTask<ContentEntityObject>
BatchableWorkSource
.
Can optionally have a progressWrapper to notify of progress.Constructor and Description |
---|
ContentEntityMigrationBatchTask(ExceptionTolerantMigrator migrator,
ContentDao contentDao,
String versionComment) |
public ContentEntityMigrationBatchTask(ExceptionTolerantMigrator migrator, ContentDao contentDao, String versionComment)
public boolean apply(ContentEntityObject entity, int index, int batchSize) throws BatchException, CloneNotSupportedException
apply
in interface BatchTask<ContentEntityObject>
entity
- the item to be operate onindex
- the index of this item in its batchbatchSize
- the size of the batchBatchException
CloneNotSupportedException
Copyright © 2003–2016 Atlassian. All rights reserved.