Uses of Class
org.springframework.batch.item.ldif.builder.LdifReaderBuilder
Package
Description
Builders for LDIF related components.
-
Uses of LdifReaderBuilder in org.springframework.batch.item.ldif.builder
Modifier and TypeMethodDescriptionLdifReaderBuilder.currentItemCount
(int currentItemCount) Index for the current item.LdifReaderBuilder.maxItemCount
(int maxItemCount) Configure the max number of items to be read.The name used to calculate the key within theExecutionContext
.LdifReaderBuilder.recordsToSkip
(int recordsToSkip) Public setter for the number of lines to skip at the start of a file.LdifReaderBuilder.resource
(org.springframework.core.io.Resource resource) Establishes the resource that will be used as the input for the LdifReader.LdifReaderBuilder.saveState
(boolean saveState) Configure if the state of theItemStreamSupport
should be persisted within theExecutionContext
for restart purposes.LdifReaderBuilder.skippedRecordsCallback
(RecordCallbackHandler skippedRecordsCallback) RecordCallbackHandler
implementations can be used to take action on skipped records.LdifReaderBuilder.strict
(boolean strict) In strict mode the reader will throw an exception onAbstractItemCountingItemStreamItemReader.open(org.springframework.batch.item.ExecutionContext)
if the input resource does not exist.