Class SynchronizedItemStreamWriterBuilder<T>
java.lang.Object
org.springframework.batch.item.support.builder.SynchronizedItemStreamWriterBuilder<T>
Creates a fully qualified
SynchronizedItemStreamWriter
.- Author:
- Dimitrios Liapis, Mahmoud Ben Hassine
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns a fully constructedSynchronizedItemStreamWriter
.delegate
(ItemStreamWriter<T> delegate) Set the delegateItemStreamWriter
.
-
Constructor Details
-
SynchronizedItemStreamWriterBuilder
public SynchronizedItemStreamWriterBuilder()
-
-
Method Details
-
delegate
Set the delegateItemStreamWriter
.- Parameters:
delegate
- the delegate to set- Returns:
- this instance for method chaining
-
build
Returns a fully constructedSynchronizedItemStreamWriter
.- Returns:
- a new
SynchronizedItemStreamWriter
-