Interface JobParametersIncrementer

All Known Implementing Classes:
DataFieldMaxValueJobParametersIncrementer, RunIdIncrementer
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface JobParametersIncrementer
Interface for obtaining the next JobParameters object in a sequence.
Since:
2.0
Author:
Dave Syer, Lucas Ward, Mahmoud Ben Hassine, Taeik Lim
  • Method Summary

    Modifier and Type
    Method
    Description
    getNext(JobParameters parameters)
    Increments the provided parameters.
  • Method Details

    • getNext

      JobParameters getNext(@Nullable JobParameters parameters)
      Increments the provided parameters. If the input is empty, this method 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)