Class ClassifierCompositeItemProcessorBuilder<I,O>
- java.lang.Object
- org.springframework.batch.item.support.builder.ClassifierCompositeItemProcessorBuilder<I,O>
public class ClassifierCompositeItemProcessorBuilder<I,O> extends java.lang.Object
Creates a fully qualifiedClassifierCompositeItemProcessor
.- Since:
- 4.0
- Author:
- Glenn Renfro
Constructor Summary
Constructors Constructor Description ClassifierCompositeItemProcessorBuilder()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassifierCompositeItemProcessor<I,O>
build()
Returns a fully constructedClassifierCompositeItemProcessor
.ClassifierCompositeItemProcessorBuilder<I,O>
classifier(org.springframework.classify.Classifier<? super I,ItemProcessor<?,? extends O>> classifier)
Establishes the classifier that will determine whichItemProcessor
to use.
Method Detail
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:
ClassifierCompositeItemProcessor.setClassifier(Classifier)
build
public ClassifierCompositeItemProcessor<I,O> build()
Returns a fully constructedClassifierCompositeItemProcessor
.- Returns:
- a new
ClassifierCompositeItemProcessor