org.springframework.batch.sample.common
Class InfiniteLoopIncrementer
java.lang.Object
org.springframework.batch.sample.common.InfiniteLoopIncrementer
- All Implemented Interfaces:
- JobParametersIncrementer
public class InfiniteLoopIncrementer
- extends Object
- implements JobParametersIncrementer
- Author:
- Dave Syer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InfiniteLoopIncrementer
public InfiniteLoopIncrementer()
getNext
public JobParameters getNext(JobParameters parameters)
- Increment the run.id parameter.
- Specified by:
getNext
in interface JobParametersIncrementer
- Parameters:
parameters
- the last value used
- Returns:
- the next value to use
Copyright © 2009 SpringSource. All Rights Reserved.