More updates to Job interface

This commit is contained in:
David Syer
2010-01-13 09:37:46 +00:00
committed by Michael Minella
parent c30a58bfb5
commit 91414c93d9

View File

@@ -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();
}
}