final long start = System.currentTimeMillis();
// first, compute the globals
processReportRun(job, createTarget(job));
if (outputProcessor.isGlobalStateComputed() == false)
{
throw new ReportProcessingException
("Pagination has not yet been finished.");
}
// second, paginate
processPaginationRun(job, createTarget(job));
if (outputProcessor.isPaginationFinished() == false)
{
throw new ReportProcessingException
("Pagination has not yet been finished.");
}
if (outputProcessor.isContentGeneratable() == false)
{
throw new ReportProcessingException
("Illegal State.");
}
final long end = System.currentTimeMillis();
System.out.println("Pagination-Time: " + (end - start));
}