Interface BatchTask<T>
- Type Parameters:
T- the type of content item that should be operated upon
- All Known Implementing Classes:
ChangeSpaceDescriptionsBodyTypeTask,ContentEntityMigrationBatchTask,ConvertToRelativeLinksTask,IndexingBatchTask
public interface BatchTask<T>
A BatchTask implementation is supplied to a
WorkSourceBatchRunner to actually
perform the required work on individual items read from the BatchableWorkSource.- Since:
- 4.0
-
Method Summary
-
Method Details
-
apply
- Parameters:
item- 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:
Exception
-