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