Uses of Interface
org.springframework.batch.infrastructure.item.ItemProcessor
Packages that use ItemProcessor
Package
Description
Adapters for Plain Old Java Objects.
Adapters for
java.util.function components.
Internal support package
Builders for support classes.
Infrastructure implementations of item validator concerns.
-
Uses of ItemProcessor in org.springframework.batch.infrastructure.item.adapter
Classes in org.springframework.batch.infrastructure.item.adapter that implement ItemProcessorModifier and TypeClassDescriptionclassItemProcessorAdapter<I,O> Invokes a custom method on a delegate plain old Java object which itself processes an item. -
Uses of ItemProcessor in org.springframework.batch.infrastructure.item.function
Classes in org.springframework.batch.infrastructure.item.function that implement ItemProcessorModifier and TypeClassDescriptionclassAnItemProcessorimplementation that delegates to aFunctionclassA filteringItemProcessorthat is based on aPredicate. -
Uses of ItemProcessor in org.springframework.batch.infrastructure.item.support
Classes in org.springframework.batch.infrastructure.item.support that implement ItemProcessorModifier and TypeClassDescriptionclassCalls one of a collection of ItemProcessors, based on a router pattern implemented through the providedClassifier.classCompositeItemProcessorthat passes the item through a sequence of injectedItemTransformers (return value of previous transformation is the entry value of the next).
Note the user is responsible for injecting a chain ofItemProcessors that conforms to declared input and output types.classSimpleItemProcessorthat does nothing - simply passes its argument through to the caller.classScriptItemProcessor<I,O> ItemProcessorimplementation that passes the current item to process to the provided script.Method parameters in org.springframework.batch.infrastructure.item.support with type arguments of type ItemProcessorModifier and TypeMethodDescriptionvoidClassifierCompositeItemProcessor.setClassifier(org.springframework.classify.Classifier<? super I, ItemProcessor<?, ? extends O>> classifier) Establishes the classifier that will determine whichItemProcessorto use.voidCompositeItemProcessor.setDelegates(List<? extends ItemProcessor<?, ?>> delegates) Establishes theItemProcessordelegates that will work on the item to be processed.Constructors in org.springframework.batch.infrastructure.item.support with parameters of type ItemProcessorModifierConstructorDescriptionCompositeItemProcessor(ItemProcessor<?, ?>... delegates) Convenience constructor for setting the delegates.Constructor parameters in org.springframework.batch.infrastructure.item.support with type arguments of type ItemProcessorModifierConstructorDescriptionCompositeItemProcessor(List<? extends ItemProcessor<?, ?>> delegates) Convenience constructor for setting the delegates. -
Uses of ItemProcessor in org.springframework.batch.infrastructure.item.support.builder
Methods in org.springframework.batch.infrastructure.item.support.builder with parameters of type ItemProcessorModifier and TypeMethodDescriptionCompositeItemProcessorBuilder.delegates(ItemProcessor<?, ?>... delegates) Establishes theItemProcessordelegates that will work on the item to be processed.Method parameters in org.springframework.batch.infrastructure.item.support.builder with type arguments of type ItemProcessorModifier and TypeMethodDescriptionClassifierCompositeItemProcessorBuilder.classifier(org.springframework.classify.Classifier<? super I, ItemProcessor<?, ? extends O>> classifier) Establishes the classifier that will determine whichItemProcessorto use.CompositeItemProcessorBuilder.delegates(List<? extends ItemProcessor<?, ?>> delegates) Establishes theItemProcessordelegates that will work on the item to be processed. -
Uses of ItemProcessor in org.springframework.batch.infrastructure.item.validator
Classes in org.springframework.batch.infrastructure.item.validator that implement ItemProcessorModifier and TypeClassDescriptionclassAValidatingItemProcessorthat uses the Bean Validation API (JSR-303) to validate items.classSimple implementation ofItemProcessorthat validates input and returns it without modifications.