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 boolean apply(ContentEntityObject entity,
int index,
int batchSize)
throws 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
- Returns:
- true if the item required work to be done, false otherwise
- Throws:
CloneNotSupportedException
Copyright © 2003–2015 Atlassian. All rights reserved.