Package org.verapdf.processor
Class AbstractBatchHandler
java.lang.Object
org.verapdf.processor.AbstractBatchHandler
- All Implemented Interfaces:
Closeable,AutoCloseable,BatchProcessingHandler
- Direct Known Subclasses:
AbstractXmlHandler,JsonHandler
- Version:
- 0.1 Created 10 Nov 2016:20:54:24
- Author:
- Carl Wilson carlwilson AT github
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<AuditDuration>getDurations(ProcessorResult result) voidhandleResult(ProcessorResult result, Boolean isLogsEnabled) This method is called by theBatchProcessorafter each item in the batch is processed allowing the implementor to take specific action for each item processed.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.verapdf.processor.BatchProcessingHandler
handleBatchEnd, handleBatchStart
-
Field Details
-
VALIDATION_RESULT
- See Also:
-
FEATURES_REPORT
- See Also:
-
FIXER_REPORT
- See Also:
-
FIXER_RESULT
- See Also:
-
REPORT
- See Also:
-
JOB
- See Also:
-
JOBS
- See Also:
-
PROCESSING_TIME
- See Also:
-
BUILD_INFORMATION
- See Also:
-
ITEM_DETAILS
- See Also:
-
RELEASE_DETAILS
- See Also:
-
TASK_EXCEPTION
- See Also:
-
BATCH_SUMMARY
- See Also:
-
LOGS
- See Also:
-
-
Constructor Details
-
AbstractBatchHandler
protected AbstractBatchHandler()
-
-
Method Details
-
handleResult
Description copied from interface:BatchProcessingHandlerThis method is called by theBatchProcessorafter each item in the batch is processed allowing the implementor to take specific action for each item processed.- Specified by:
handleResultin interfaceBatchProcessingHandler- Parameters:
result- theProcessorResultfor the last item processed.- Throws:
VeraPDFException- if there's a problem with the particular result.
-
getDurations
-