org.lexgrid.loader.processor
Class AbstractParameterPassingDoubleListProcessor<I,O>
java.lang.Object
org.lexgrid.loader.processor.AbstractParameterPassingDoubleListProcessor<I,O>
- All Implemented Interfaces:
- org.springframework.batch.item.ItemProcessor<java.util.List<I>,java.util.List<O>>
- Direct Known Subclasses:
- MrstyListProcessor
public abstract class AbstractParameterPassingDoubleListProcessor<I,O>
- extends java.lang.Object
- implements org.springframework.batch.item.ItemProcessor<java.util.List<I>,java.util.List<O>>
The Class AbstractParameterPassingDoubleListProcessor.
- Author:
- Kevin Peterson
Method Summary |
protected abstract java.util.List<O> |
afterProcessing(java.util.List<O> processedItems,
java.util.List<I> originalItems)
After processing. |
protected abstract java.util.List<I> |
beforeProcessing(java.util.List<I> items)
Before processing. |
org.springframework.batch.item.ItemProcessor<I,? extends java.util.List<O>> |
getDelegate()
|
java.util.List<O> |
process(java.util.List<I> items)
|
void |
setDelegate(org.springframework.batch.item.ItemProcessor<I,? extends java.util.List<O>> delegate)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractParameterPassingDoubleListProcessor
public AbstractParameterPassingDoubleListProcessor()
process
public java.util.List<O> process(java.util.List<I> items)
throws java.lang.Exception
- Specified by:
process
in interface org.springframework.batch.item.ItemProcessor<java.util.List<I>,java.util.List<O>>
- Throws:
java.lang.Exception
beforeProcessing
protected abstract java.util.List<I> beforeProcessing(java.util.List<I> items)
- Before processing.
- Parameters:
items
- the items
- Returns:
- the list< i>
afterProcessing
protected abstract java.util.List<O> afterProcessing(java.util.List<O> processedItems,
java.util.List<I> originalItems)
- After processing.
- Parameters:
processedItems
- the processed itemsoriginalItems
- the original items
- Returns:
- the list< o>
getDelegate
public org.springframework.batch.item.ItemProcessor<I,? extends java.util.List<O>> getDelegate()
setDelegate
public void setDelegate(org.springframework.batch.item.ItemProcessor<I,? extends java.util.List<O>> delegate)