Class ClassifierCompositeItemProcessorBuilder<I,O>
java.lang.Object
org.springframework.batch.item.support.builder.ClassifierCompositeItemProcessorBuilder<I,O>
Creates a fully qualified
ClassifierCompositeItemProcessor
.- Since:
- 4.0
- Author:
- Glenn Renfro
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns a fully constructedClassifierCompositeItemProcessor
.classifier
(org.springframework.classify.Classifier<? super I, ItemProcessor<?, ? extends O>> classifier) Establishes the classifier that will determine whichItemProcessor
to use.
-
Constructor Details
-
ClassifierCompositeItemProcessorBuilder
public ClassifierCompositeItemProcessorBuilder()
-
-
Method Details
-
classifier
public ClassifierCompositeItemProcessorBuilder<I,O> classifier(org.springframework.classify.Classifier<? super I, ItemProcessor<?, ? extends O>> classifier) Establishes the classifier that will determine whichItemProcessor
to use.- Parameters:
classifier
- the classifier to set- Returns:
- this instance for method chaining
- See Also:
-
build
Returns a fully constructedClassifierCompositeItemProcessor
.- Returns:
- a new
ClassifierCompositeItemProcessor
-