public class RunIdIncrementer extends java.lang.Object implements JobParametersIncrementer
Constructor and Description |
---|
RunIdIncrementer() |
Modifier and Type | Method and Description |
---|---|
JobParameters |
getNext(JobParameters parameters)
Increment the run.id parameter (starting with 1).
|
void |
setKey(java.lang.String key)
The name of the run id in the job parameters.
|
public void setKey(java.lang.String key)
key
- the key to setpublic JobParameters getNext(JobParameters parameters)
getNext
in interface JobParametersIncrementer
parameters
- the last value used