Package org.verapdf.processor
Class JsonHandler
java.lang.Object
org.verapdf.processor.AbstractBatchHandler
org.verapdf.processor.JsonHandler
- All Implemented Interfaces:
Closeable,AutoCloseable,BatchProcessingHandler
-
Field Summary
Fields inherited from class org.verapdf.processor.AbstractBatchHandler
BATCH_SUMMARY, BUILD_INFORMATION, FEATURES_REPORT, FIXER_REPORT, FIXER_RESULT, ITEM_DETAILS, JOB, JOBS, LOGS, PROCESSING_TIME, RELEASE_DETAILS, REPORT, TASK_EXCEPTION, VALIDATION_RESULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidhandleBatchEnd(BatchSummary summary) This method is called by theBatchProcessorat the end of the batch process and allows custom action to be taken informed by the summary of the batch process.voidhandleBatchStart(ProcessorConfig config) This method is called by theBatchProcessorat the start of processing.Methods inherited from class org.verapdf.processor.AbstractBatchHandler
getDurations, handleResult
-
Constructor Details
-
JsonHandler
-
-
Method Details
-
handleBatchStart
Description copied from interface:BatchProcessingHandlerThis method is called by theBatchProcessorat the start of processing. The processor passes itProcessorConfigallowing the handler to read the config details and take action.- Parameters:
config- theProcessorConfigsupplied by the caller of the batch process.- Throws:
VeraPDFException- if there's a problem setting up the batch process.
-
handleBatchEnd
Description copied from interface:BatchProcessingHandlerThis method is called by theBatchProcessorat the end of the batch process and allows custom action to be taken informed by the summary of the batch process.- Parameters:
summary- theBatchSummaryfor the batch process just completed.- Throws:
VeraPDFException- if there's a problem handling theBatchSummary
-
close
- Throws:
IOException
-