Package org.springframework.batch.core
Interface JobParametersIncrementer
- All Known Implementing Classes:
RunIdIncrementer
public interface JobParametersIncrementerInterface for obtaining the nextJobParametersin a sequence.- Since:
- 2.0
- Author:
- Dave Syer, Lucas Ward, Mahmoud Ben Hassine
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JobParametersgetNext(JobParameters parameters)Increment the provided parameters.
Method Detail
getNext
JobParameters getNext(@Nullable JobParameters parameters)
Increment the provided parameters. If the input is empty, then this should return a bootstrap or initial value to be used on the first instance of a job.- Parameters:
parameters- the last value used- Returns:
- the next value to use (never
null)