More updates to Job interface
This commit is contained in:
committed by
Michael Minella
parent
c30a58bfb5
commit
91414c93d9
@@ -3,6 +3,8 @@ package org.springframework.batch.integration;
|
||||
import org.springframework.batch.core.Job;
|
||||
import org.springframework.batch.core.JobExecution;
|
||||
import org.springframework.batch.core.JobParametersIncrementer;
|
||||
import org.springframework.batch.core.job.DefaultJobParametersValidator;
|
||||
import org.springframework.batch.core.job.JobParametersValidator;
|
||||
|
||||
public class JobSupport implements Job {
|
||||
|
||||
@@ -26,5 +28,9 @@ public class JobSupport implements Job {
|
||||
public JobParametersIncrementer getJobParametersIncrementer() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public JobParametersValidator getJobParametersValidator() {
|
||||
return new DefaultJobParametersValidator();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user