public interface BatchProcessingHandler extends Closeable
BatchProcessor. The interface
effectively defines a set of processing callbacks that are invoked by the
batch processor at specific points during processing.| Modifier and Type | Method and Description |
|---|---|
void |
handleBatchEnd(BatchSummary summary)
This method is called by the
BatchProcessor at the end of the
batch process and allows custom action to be taken informed by the
summary of the batch process. |
void |
handleBatchStart(ProcessorConfig config)
This method is called by the
BatchProcessor at the start of
processing. |
void |
handleResult(ProcessorResult result)
This method is called by the
BatchProcessor after each item in
the batch is processed allowing the implementor to take specific action
for each item processed. |
void handleBatchStart(ProcessorConfig config) throws VeraPDFException
BatchProcessor at the start of
processing. The processor passes it ProcessorConfig allowing the
handler to read the config details and take action.config - the ProcessorConfig supplied by the caller of the
batch process.VeraPDFException - if there's a problem setting up the batch process.void handleResult(ProcessorResult result) throws VeraPDFException
BatchProcessor after each item in
the batch is processed allowing the implementor to take specific action
for each item processed.result - the ProcessorResult for the last item processed.VeraPDFException - if there's a problem with the particular result.void handleBatchEnd(BatchSummary summary) throws VeraPDFException
BatchProcessor at the end of the
batch process and allows custom action to be taken informed by the
summary of the batch process.summary - the BatchSummary for the batch process just completed.VeraPDFException - if there's a problem handling the BatchSummaryCopyright © 2015–2017 The veraPDF Consortium. All rights reserved.