类 CustomerCreditIncreaseProcessor
- java.lang.Object
- org.springframework.batch.sample.domain.trade.internal.CustomerCreditIncreaseProcessor
- 所有已实现的接口:
ItemProcessor<CustomerCredit,CustomerCredit>
public class CustomerCreditIncreaseProcessor extends java.lang.Object implements ItemProcessor<CustomerCredit,CustomerCredit>
Increases customer's credit by a fixed amount.- 作者:
- Robert Kasanicky
字段概要
字段 修饰符和类型 字段 说明 static java.math.BigDecimal
FIXED_AMOUNT
构造器概要
构造器 构造器 说明 CustomerCreditIncreaseProcessor()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 CustomerCredit
process(CustomerCredit item)
Process the provided item, returning a potentially modified or new item for continued processing.
字段详细资料
FIXED_AMOUNT
public static final java.math.BigDecimal FIXED_AMOUNT
构造器详细资料
CustomerCreditIncreaseProcessor
public CustomerCreditIncreaseProcessor()
方法详细资料
process
public CustomerCredit process(CustomerCredit item) throws java.lang.Exception
从接口复制的说明:ItemProcessor
Process the provided item, returning a potentially modified or new item for continued processing. If the returned result is null, it is assumed that processing of the item should not continue.- 指定者:
process
在接口中ItemProcessor<CustomerCredit,CustomerCredit>
- 参数:
item
- to be processed- 返回:
- potentially modified or new item for continued processing,
null
if processing of the provided item should not continue. - 抛出:
java.lang.Exception
- thrown if exception occurs during processing.