io.github.benas.easybatch.tutorials.products
Class ProductProcessor
java.lang.Object
io.github.benas.easybatch.tutorials.products.ProductProcessor
- All Implemented Interfaces:
- RecordProcessor<Product,Double>
public class ProductProcessor
- extends Object
- implements RecordProcessor<Product,Double>
A product processor that calculates the maximum product price for published products.
- Author:
- benas (md.benhassine@gmail.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProductProcessor
public ProductProcessor()
processRecord
public void processRecord(Product product)
throws Exception
- Specified by:
processRecord in interface RecordProcessor<Product,Double>
- Throws:
Exception
getEasyBatchResult
public Double getEasyBatchResult()
- Specified by:
getEasyBatchResult in interface RecordProcessor<Product,Double>
Copyright © 2014. All Rights Reserved.