Class CompositeItemProcessorBuilder<I,O>
java.lang.Object
org.springframework.batch.item.support.builder.CompositeItemProcessorBuilder<I,O>
Creates a fully qualified
CompositeItemProcessorBuilder
.- Since:
- 4.0
- Author:
- Glenn Renfro, Drummond Dawson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns a fully constructedCompositeItemProcessor
.delegates
(List<? extends ItemProcessor<?, ?>> delegates) Establishes theItemProcessor
delegates that will work on the item to be processed.delegates
(ItemProcessor<?, ?>... delegates) Establishes theItemProcessor
delegates that will work on the item to be processed.
-
Constructor Details
-
CompositeItemProcessorBuilder
public CompositeItemProcessorBuilder()
-
-
Method Details
-
delegates
Establishes theItemProcessor
delegates that will work on the item to be processed.- Parameters:
delegates
- list ofItemProcessor
delegates that will work on the item.- Returns:
- this instance for method chaining.
- See Also:
-
delegates
Establishes theItemProcessor
delegates that will work on the item to be processed.- Parameters:
delegates
- theItemProcessor
delegates that will work on the item.- Returns:
- this instance for method chaining.
- See Also:
-
build
Returns a fully constructedCompositeItemProcessor
.- Returns:
- a new
CompositeItemProcessor
-