Uses of Class
org.springframework.batch.item.json.builder.JsonFileItemWriterBuilder
Packages that use JsonFileItemWriterBuilder
Package
Description
Builders for JSON item reader and writer.
-
Uses of JsonFileItemWriterBuilder in org.springframework.batch.item.json.builder
Methods in org.springframework.batch.item.json.builder that return JsonFileItemWriterBuilderModifier and TypeMethodDescriptionJsonFileItemWriterBuilder.append(boolean append) If set to true and the file exists, the output will be appended to the existing file.Encoding used for output.JsonFileItemWriterBuilder.footerCallback(FlatFileFooterCallback callback) A callback for footer processing.JsonFileItemWriterBuilder.forceSync(boolean forceSync) A flag indicating that changes should be force-synced to disk on flush.JsonFileItemWriterBuilder.headerCallback(FlatFileHeaderCallback callback) A callback for header processing.JsonFileItemWriterBuilder.jsonObjectMarshaller(JsonObjectMarshaller<T> jsonObjectMarshaller) Set theJsonObjectMarshallerto use to marshal objects to json.JsonFileItemWriterBuilder.lineSeparator(String lineSeparator) String used to separate lines in output.The name used to calculate the key within theExecutionContext.JsonFileItemWriterBuilder.resource(org.springframework.core.io.WritableResource resource) TheWritableResourceto be used as output.JsonFileItemWriterBuilder.saveState(boolean saveState) Configure if the state of theItemStreamSupportshould be persisted within theExecutionContextfor restart purposes.JsonFileItemWriterBuilder.shouldDeleteIfEmpty(boolean shouldDelete) If set to true, once the step is complete, if the resource previously provided is empty, it will be deleted.JsonFileItemWriterBuilder.shouldDeleteIfExists(boolean shouldDelete) If set to true, upon the start of the step, if the resource already exists, it will be deleted and recreated.JsonFileItemWriterBuilder.transactional(boolean transactional) If set to true, the flushing of the buffer is delayed while a transaction is active.