com.atlassian.confluence.content.render.xhtml.migration.macro
Class ContentEntityMigrationBatchTask
java.lang.Object
com.atlassian.confluence.content.render.xhtml.migration.macro.ContentEntityMigrationBatchTask
- All Implemented Interfaces:
- BatchTask<ContentEntityObject>
public class ContentEntityMigrationBatchTask
- extends Object
- implements BatchTask<ContentEntityObject>
Attempts to migrate a contentEntityObject with a wiki markup content body to XHTML.
Implements the batchTask interface so can be used with @see BatchWorkSource.
Can optionally have a progressWrapper to notify of progress.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentEntityMigrationBatchTask
public ContentEntityMigrationBatchTask(ExceptionTolerantMigrator migrator,
ContentDao contentDao,
String versionComment)
apply
public void apply(ContentEntityObject entity,
int index,
int batchSize)
throws BatchException,
CloneNotSupportedException
- Specified by:
apply
in interface BatchTask<ContentEntityObject>
- Parameters:
entity
- the item to be operate onindex
- the index of this item in its batchbatchSize
- the size of the batch
- Throws:
BatchException
CloneNotSupportedException
Copyright © 2003-2013 Atlassian. All Rights Reserved.