Class ProcessIndicatorItemWrapper<T>
- java.lang.Object
- org.springframework.batch.sample.common.ProcessIndicatorItemWrapper<T>
- Type Parameters:
T
- item type
public class ProcessIndicatorItemWrapper<T> extends java.lang.Object
Item wrapper useful in "process indicator" usecase, where input is marked as processed by the processor/writer. This requires passing a technical identifier of the input data so that it can be modified in later stages.- Author:
- Robert Kasanicky
- See Also:
StagingItemReader
,StagingItemProcessor
Constructor Summary
Constructors Constructor Description ProcessIndicatorItemWrapper(long id, T item)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getId()
T
getItem()