public abstract class AbstractListProcessor<I,O>
extends java.lang.Object
implements org.springframework.batch.item.ItemProcessor<java.util.List<I>,java.util.List<O>>
Constructor and Description |
---|
AbstractListProcessor() |
Modifier and Type | Method and Description |
---|---|
protected abstract java.util.List<O> |
afterProcessing(java.util.List<O> items)
After processing.
|
protected abstract java.util.List<I> |
beforeProcessing(java.util.List<I> items)
Before processing.
|
org.springframework.batch.item.ItemProcessor<I,O> |
getDelegate()
Gets the delegate.
|
java.util.List<O> |
process(java.util.List<I> items) |
void |
setDelegate(org.springframework.batch.item.ItemProcessor<I,O> delegate)
Sets the delegate.
|
protected abstract java.util.List<I> beforeProcessing(java.util.List<I> items)
items
- the itemsprotected abstract java.util.List<O> afterProcessing(java.util.List<O> items)
items
- the itemspublic org.springframework.batch.item.ItemProcessor<I,O> getDelegate()