Uses of Interface
org.springframework.batch.item.ItemProcessor
Packages that use ItemProcessor
Package
Description
Parsers for XML based configuration
Step level builders for java based job configuration.
Factories for step level components.
Specific implementations of step concerns for item-oriented approach.
Components for executing item processing asynchronously and writing the results when processing is complete.
Components for remote chunking.
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.core.configuration.xml
Methods in org.springframework.batch.core.configuration.xml with parameters of type ItemProcessorModifier and TypeMethodDescriptionvoid
StepParserStepFactoryBean.setItemProcessor
(ItemProcessor<? super I, ? extends O> itemProcessor) -
Uses of ItemProcessor in org.springframework.batch.core.step.builder
Methods in org.springframework.batch.core.step.builder that return ItemProcessorModifier and TypeMethodDescriptionprotected ItemProcessor<? super I,
? extends O> SimpleStepBuilder.getProcessor()
Methods in org.springframework.batch.core.step.builder with parameters of type ItemProcessorModifier and TypeMethodDescriptionSimpleStepBuilder.processor
(ItemProcessor<? super I, ? extends O> processor) An item processor that processes or transforms a stream of items.protected void
SimpleStepBuilder.registerAsStreamsAndListeners
(ItemReader<? extends I> itemReader, ItemProcessor<? super I, ? extends O> itemProcessor, ItemWriter<? super O> itemWriter) -
Uses of ItemProcessor in org.springframework.batch.core.step.factory
Methods in org.springframework.batch.core.step.factory that return ItemProcessorModifier and TypeMethodDescriptionprotected ItemProcessor<? super T,
? extends S> SimpleStepFactoryBean.getItemProcessor()
Protected getter for theItemProcessor
for subclasses to useMethods in org.springframework.batch.core.step.factory with parameters of type ItemProcessorModifier and TypeMethodDescriptionvoid
SimpleStepFactoryBean.setItemProcessor
(ItemProcessor<? super T, ? extends S> itemProcessor) -
Uses of ItemProcessor in org.springframework.batch.core.step.item
Methods in org.springframework.batch.core.step.item with parameters of type ItemProcessorModifier and TypeMethodDescriptionvoid
SimpleChunkProcessor.setItemProcessor
(ItemProcessor<? super I, ? extends O> itemProcessor) Constructors in org.springframework.batch.core.step.item with parameters of type ItemProcessorModifierConstructorDescriptionFaultTolerantChunkProcessor
(ItemProcessor<? super I, ? extends O> itemProcessor, ItemWriter<? super O> itemWriter, BatchRetryTemplate batchRetryTemplate) SimpleChunkProcessor
(ItemProcessor<? super I, ? extends O> itemProcessor, ItemWriter<? super O> itemWriter) -
Uses of ItemProcessor in org.springframework.batch.integration.async
Classes in org.springframework.batch.integration.async that implement ItemProcessorModifier and TypeClassDescriptionclass
AsyncItemProcessor<I,
O> AnItemProcessor
that delegates to a nested processor and in the background.Methods in org.springframework.batch.integration.async with parameters of type ItemProcessorModifier and TypeMethodDescriptionvoid
AsyncItemProcessor.setDelegate
(ItemProcessor<I, O> delegate) TheItemProcessor
to use to delegate processing to in a background thread. -
Uses of ItemProcessor in org.springframework.batch.integration.chunk
Methods in org.springframework.batch.integration.chunk with parameters of type ItemProcessorModifier and TypeMethodDescriptionRemoteChunkingWorkerBuilder.itemProcessor
(ItemProcessor<I, O> itemProcessor) Set theItemProcessor
to use to process items sent by the manager step.RemoteChunkingManagerStepBuilder.processor
(ItemProcessor<? super I, ? extends O> itemProcessor) -
Uses of ItemProcessor in org.springframework.batch.item.adapter
Classes in org.springframework.batch.item.adapter that implement ItemProcessorModifier and TypeClassDescriptionclass
ItemProcessorAdapter<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.item.function
Classes in org.springframework.batch.item.function that implement ItemProcessorModifier and TypeClassDescriptionclass
AnItemProcessor
implementation that delegates to aFunction
-
Uses of ItemProcessor in org.springframework.batch.item.support
Classes in org.springframework.batch.item.support that implement ItemProcessorModifier and TypeClassDescriptionclass
Calls one of a collection of ItemProcessors, based on a router pattern implemented through the providedClassifier
.class
CompositeItemProcessor
that passes the item through a sequence of injectedItemTransformer
s (return value of previous transformation is the entry value of the next).
Note the user is responsible for injecting a chain ofItemProcessor
s that conforms to declared input and output types.class
SimpleItemProcessor
that does nothing - simply passes its argument through to the caller.class
ScriptItemProcessor<I,
O> ItemProcessor
implementation that passes the current item to process to the provided script.Method parameters in org.springframework.batch.item.support with type arguments of type ItemProcessorModifier and TypeMethodDescriptionvoid
ClassifierCompositeItemProcessor.setClassifier
(org.springframework.classify.Classifier<? super I, ItemProcessor<?, ? extends O>> classifier) Establishes the classifier that will determine whichItemProcessor
to use.void
CompositeItemProcessor.setDelegates
(List<? extends ItemProcessor<?, ?>> delegates) Establishes theItemProcessor
delegates that will work on the item to be processed.Constructors in org.springframework.batch.item.support with parameters of type ItemProcessorModifierConstructorDescriptionCompositeItemProcessor
(ItemProcessor<?, ?>... delegates) Convenience constructor for setting the delegates.Constructor parameters in org.springframework.batch.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.item.support.builder
Methods in org.springframework.batch.item.support.builder with parameters of type ItemProcessorModifier and TypeMethodDescriptionCompositeItemProcessorBuilder.delegates
(ItemProcessor<?, ?>... delegates) Establishes theItemProcessor
delegates that will work on the item to be processed.Method parameters in org.springframework.batch.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 whichItemProcessor
to use.CompositeItemProcessorBuilder.delegates
(List<? extends ItemProcessor<?, ?>> delegates) Establishes theItemProcessor
delegates that will work on the item to be processed. -
Uses of ItemProcessor in org.springframework.batch.item.validator
Classes in org.springframework.batch.item.validator that implement ItemProcessorModifier and TypeClassDescriptionclass
AValidatingItemProcessor
that uses the Bean Validation API (JSR-303) to validate items.class
Simple implementation ofItemProcessor
that validates input and returns it without modifications.