@Override
protected void processIteration(Object[] iterationData)
throws ActivityProcessingException, ActivityTerminatedException,
ActivityUserException
{
ListIterator iterator = (ListIterator)iterationData[1];
Object block;
long count = 1;
long listSize = ((Number)iterationData[0]).longValue();
MetadataWrapper metadata = null;
while ((block = iterator.nextValue()) != null)
{
if (block instanceof MetadataWrapper)
{
metadata = (MetadataWrapper)block;
continue;