org.springframework.batch.sample.common
Class InfiniteLoopIncrementer

java.lang.Object
  extended by org.springframework.batch.sample.common.InfiniteLoopIncrementer
All Implemented Interfaces:
JobParametersIncrementer

public class InfiniteLoopIncrementer
extends Object
implements JobParametersIncrementer

Author:
Dave Syer

Constructor Summary
InfiniteLoopIncrementer()
           
 
Method Summary
 JobParameters getNext(JobParameters parameters)
          Increment the run.id parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfiniteLoopIncrementer

public InfiniteLoopIncrementer()
Method Detail

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.