You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-batch-core/src/main/java/org/springframework/batch/core/converter/DefaultJobParametersConverter.java
+19-16Lines changed: 19 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -36,19 +36,20 @@
36
36
importjava.util.Properties;
37
37
38
38
/**
39
-
* Converter for {@link JobParameters} instances using a simple naming convention for
40
-
* property keys. Key names that are prefixed with a - are considered non-identifying and
41
-
* will not contribute to the identity of a {@link JobInstance}. Key names ending with
42
-
* "(<type>)" where type is one of string, date, long are converted to the
43
-
* corresponding type. The default type is string. E.g.
39
+
* Converter for {@link JobParameters} instances that uses a simple naming convention for
40
+
* property keys. Key names that are prefixed with a {@code -} are considered
41
+
* non-identifying and do not contribute to the identity of a {@link JobInstance}. Key
42
+
* names ending with "(<type>)" (where type is one of string, date, long) are
43
+
* converted to the corresponding type. The default type is string. Consider the following
44
+
* example:
44
45
*
45
46
* <pre>
46
47
* schedule.date(date)=2007/12/11
47
48
* department.id(long)=2345
48
49
* </pre>
49
50
*
50
-
* The literal values are converted to the correct type using the default Spring
51
-
* strategies, augmented if necessary by the custom editors provided.
51
+
* The literal values are converted to the correct type by using the default Spring
52
+
* strategies, augmented if necessary by any custom editors that have been provided.
52
53
*
53
54
* <br>
54
55
*
@@ -96,9 +97,9 @@ public class DefaultJobParametersConverter implements JobParametersConverter {
0 commit comments