Uses of Interface
org.springframework.batch.item.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
Modifier and TypeMethodDescriptionvoid
StepParserStepFactoryBean.setItemProcessor
(ItemProcessor<? super I, ? extends O> itemProcessor) -
Uses of ItemProcessor in org.springframework.batch.core.step.builder
Modifier and TypeMethodDescriptionprotected ItemProcessor<? super I,
? extends O> SimpleStepBuilder.getProcessor()
Modifier 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
Modifier and TypeMethodDescriptionprotected ItemProcessor<? super T,
? extends S> SimpleStepFactoryBean.getItemProcessor()
Protected getter for theItemProcessor
for subclasses to useModifier and TypeMethodDescriptionvoid
SimpleStepFactoryBean.setItemProcessor
(ItemProcessor<? super T, ? extends S> itemProcessor) -
Uses of ItemProcessor in org.springframework.batch.core.step.item
Modifier and TypeMethodDescriptionvoid
SimpleChunkProcessor.setItemProcessor
(ItemProcessor<? super I, ? extends O> itemProcessor) ModifierConstructorDescriptionFaultTolerantChunkProcessor
(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
Modifier and TypeClassDescriptionclass
AsyncItemProcessor<I,
O> AnItemProcessor
that delegates to a nested processor and in the background.Modifier 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
Modifier 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
Modifier 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
Modifier and TypeClassDescriptionclass
AnItemProcessor
implementation that delegates to aFunction
class
A filteringItemProcessor
that is based on aPredicate
. -
Uses of ItemProcessor in org.springframework.batch.item.support
Modifier 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.Modifier 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.ModifierConstructorDescriptionCompositeItemProcessor
(ItemProcessor<?, ?>... delegates) Convenience constructor for setting the delegates.ModifierConstructorDescriptionCompositeItemProcessor
(List<? extends ItemProcessor<?, ?>> delegates) Convenience constructor for setting the delegates. -
Uses of ItemProcessor in org.springframework.batch.item.support.builder
Modifier and TypeMethodDescriptionCompositeItemProcessorBuilder.delegates
(ItemProcessor<?, ?>... delegates) Establishes theItemProcessor
delegates that will work on the item to be processed.Modifier 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
Modifier 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.