IN PROGRESS - BATCH-570: Job.getSteps() does not need to be exposed in the interface
added deprecations
This commit is contained in:
@@ -30,6 +30,10 @@ public interface Job {
|
||||
|
||||
String getName();
|
||||
|
||||
/**
|
||||
* @deprecated planned for removal in 2.0
|
||||
* @return the {@link Step}s executed as part of this job.
|
||||
*/
|
||||
List getSteps();
|
||||
|
||||
boolean isRestartable();
|
||||
|
||||
@@ -117,6 +117,7 @@ public class ClassPathXmlApplicationContextJobFactory implements JobFactory {
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated planned for removal in 2.0
|
||||
* @see org.springframework.batch.core.Job#getSteps()
|
||||
*/
|
||||
public List getSteps() {
|
||||
|
||||
Reference in New Issue
Block a user