Skip to content

Commit b079805

Browse files
committed
Deprecate ScheduledJobParametersFactory
This commit deprecates ScheduledJobParametersFactory in favor of DefaultJobParametersConverter. Resolves #3781
1 parent 0958cf4 commit b079805

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

spring-batch-core/src/main/java/org/springframework/batch/core/launch/support/ScheduledJobParametersFactory.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2018 the original author or authors.
2+
* Copyright 2006-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -33,7 +33,11 @@
3333
* @author Lucas Ward
3434
* @author Mahmoud Ben Hassine
3535
*
36+
* @deprecated as of v4.3 in favor of
37+
* {@link org.springframework.batch.core.converter.DefaultJobParametersConverter}
38+
* and scheduled for removal in v5.0.
3639
*/
40+
@Deprecated
3741
public class ScheduledJobParametersFactory implements JobParametersConverter {
3842

3943
public static final String SCHEDULE_DATE_KEY = "schedule.date";

0 commit comments

Comments
 (0)