public interface BatchConfigBuilder
BatchConfig
instanceModifier and Type | Method and Description |
---|---|
BatchConfig |
build()
Build the immutable Batch Config instance
|
BatchConfigBuilder |
setBatchType(BatchType batchType)
Set the batch type to be used for rendering
|
BatchConfigBuilder |
setLocale(String locale)
Set the locale to be used while rendering the document
|
BatchConfigBuilder |
setPostProcessor(PostProcessor postProcessor)
Configure the post-processor to be executed after executing batch logic.
|
BatchConfigBuilder |
setPreProcessor(PreProcessor preProcessor)
Configure the pre-processor to be executed before actual executing batch logic.
|
BatchConfigBuilder |
setRecordPath(String recordID)
Set the record Id ie json pointer to the data, to uniquely identify in Result after
batch execution.The provided json-pointer will be resolved from input data.
|
BatchConfigBuilder |
setUsePrefillService(boolean usePrefillService)
Configuration to either use input data as argument and use prefill service defined on IC or ignore prefill service provided in IC and use complete input as actual data.
|
BatchConfigBuilder setPreProcessor(PreProcessor preProcessor)
preProcessor
- pre-processor implementation of @PreProcessor
BatchConfigBuilder setPostProcessor(PostProcessor postProcessor)
postProcessor
- post-processor implementation of @{@link PostProcessorBatchConfigBuilder setBatchType(BatchType batchType)
batchType
- type of rendering @BatchType
BatchConfigBuilder setLocale(String locale)
locale
- locale to be used while rendering the documentBatchConfigBuilder setRecordPath(String recordID)
recordID
- json pointer to the dataBatchConfigBuilder setUsePrefillService(boolean usePrefillService)
usePrefillService
- BatchConfig build() throws BatchException
BatchException
Copyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.