com.atlassian.confluence.upgrade.upgradetask
Class ConvertToRelativeLinksTask
java.lang.Object
com.atlassian.confluence.upgrade.upgradetask.ConvertToRelativeLinksTask
- All Implemented Interfaces:
- BatchTask<ContentEntityObject>
public class ConvertToRelativeLinksTask
- extends Object
- implements BatchTask<ContentEntityObject>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConvertToRelativeLinksTask
public ConvertToRelativeLinksTask(ContentDao contentDao,
XhtmlLinksUpdater linksUpdater)
apply
public void apply(ContentEntityObject entity,
int index,
int batchSize)
throws Exception,
BatchException
- 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:
Exception
BatchException