Class ConvertToRelativeLinksTask
- java.lang.Object
-
- com.atlassian.confluence.upgrade.upgradetask.ConvertToRelativeLinksTask
-
- All Implemented Interfaces:
BatchTask<ContentEntityObject>
public class ConvertToRelativeLinksTask extends Object implements BatchTask<ContentEntityObject>
-
-
Constructor Summary
Constructors Constructor Description ConvertToRelativeLinksTask(ContentDao contentDao, XhtmlLinksUpdater linksUpdater)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
apply(ContentEntityObject entity, int index, int batchSize)
-
-
-
Constructor Detail
-
ConvertToRelativeLinksTask
public ConvertToRelativeLinksTask(ContentDao contentDao, XhtmlLinksUpdater linksUpdater)
-
-
Method Detail
-
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
-
-