com.atlassian.confluence.content.render.xhtml.migration
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
 void apply(T item, int index, int batchSize)
           
 

Method Detail

apply

void apply(T item,
           int index,
           int batchSize)
           throws Exception,
                  BatchException
Parameters:
item - the item to be operate on
index - the index of this item in its batch
batchSize - the size of the batch
Throws:
Exception
BatchException


Copyright © 2003-2013 Atlassian. All Rights Reserved.