org.lexgrid.loader.processor
Class BasicListProcessor<I,O>
java.lang.Object
org.lexgrid.loader.processor.BasicListProcessor<I,O>
- All Implemented Interfaces:
- org.springframework.batch.item.ItemProcessor<java.util.List<I>,java.util.List<O>>
public class BasicListProcessor<I,O>
- extends java.lang.Object
- implements org.springframework.batch.item.ItemProcessor<java.util.List<I>,java.util.List<O>>
The Class BasicListProcessor.
- Author:
- Kevin Peterson
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicListProcessor
public BasicListProcessor()
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
getDelegate
public org.springframework.batch.item.ItemProcessor<I,O> getDelegate()
- Gets the delegate.
- Returns:
- the delegate
setDelegate
public void setDelegate(org.springframework.batch.item.ItemProcessor<I,O> delegate)
- Sets the delegate.
- Parameters:
delegate
- the delegate