Class ConvertToRelativeLinksTask
java.lang.Object
com.atlassian.confluence.upgrade.upgradetask.ConvertToRelativeLinksTask
- All Implemented Interfaces:
BatchTask<ContentEntityObject>
-
Constructor Summary
ConstructorsConstructorDescriptionConvertToRelativeLinksTask
(ContentEntityObjectDao contentDao, XhtmlLinksUpdater linksUpdater) -
Method Summary
Modifier and TypeMethodDescriptionboolean
apply
(ContentEntityObject entity, int index, int batchSize)
-
Constructor Details
-
ConvertToRelativeLinksTask
public ConvertToRelativeLinksTask(ContentEntityObjectDao contentDao, XhtmlLinksUpdater linksUpdater)
-
-
Method Details
-
apply
public boolean apply(ContentEntityObject entity, int index, int batchSize) throws CloneNotSupportedException - Specified by:
apply
in interfaceBatchTask<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
-