Skip to content

Commit b0f8de3

Browse files
committed
Update broken document links
1 parent 5bf2932 commit b0f8de3

File tree

5 files changed

+41
-34
lines changed

5 files changed

+41
-34
lines changed

spring-cloud-starter-single-step-batch-job/src/main/java/org/springframework/cloud/task/batch/autoconfigure/jdbc/JDBCSingleStepDataSourceAutoConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
/**
3232
* Establishes the default {@link DataSource} for the Task when creating a
3333
* {@link DataSource} for
34-
* {@link org.springframework.batch.item.database.JdbcCursorItemReader} or
35-
* {@link org.springframework.batch.item.database.JdbcBatchItemWriter}.
34+
* {@link org.springframework.batch.infrastructure.item.database.JdbcCursorItemReader} or
35+
* {@link org.springframework.batch.infrastructure.item.database.JdbcBatchItemWriter}.
3636
*
3737
* @author Glenn Renfro
3838
* @since 3.0

spring-cloud-starter-single-step-batch-job/src/main/java/org/springframework/cloud/task/batch/autoconfigure/jdbc/JdbcBatchItemWriterProperties.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class JdbcBatchItemWriterProperties {
2929

3030
/**
3131
* The name used to calculate the key within the
32-
* {@link org.springframework.batch.item.ExecutionContext}.
32+
* {@link org.springframework.batch.infrastructure.item.ExecutionContext}.
3333
*/
3434
private String name;
3535

@@ -86,9 +86,9 @@ public String getName() {
8686

8787
/**
8888
* The name used to calculate the key within the
89-
* {@link org.springframework.batch.item.ExecutionContext}.
89+
* {@link org.springframework.batch.infrastructure.item.ExecutionContext}.
9090
* @param name name of the writer instance
91-
* @see org.springframework.batch.item.ItemStreamSupport#setName(String)
91+
* @see org.springframework.batch.infrastructure.item.ItemStreamSupport#setName(String)
9292
*/
9393
public void setName(String name) {
9494
this.name = name;

spring-cloud-starter-single-step-batch-job/src/main/java/org/springframework/cloud/task/batch/autoconfigure/jdbc/JdbcCursorItemReaderProperties.java

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ public class JdbcCursorItemReaderProperties {
2727

2828
/**
2929
* Configure whether the state of the
30-
* {@link org.springframework.batch.item.ItemStreamSupport} should be persisted within
31-
* the {@link org.springframework.batch.item.ExecutionContext} for restart purposes.
32-
* Defaults to {@code true}.
30+
* {@link org.springframework.batch.infrastructure.item.ItemStreamSupport} should be
31+
* persisted within the
32+
* {@link org.springframework.batch.infrastructure.item.ExecutionContext} for restart
33+
* purposes. Defaults to {@code true}.
3334
*/
3435
private boolean saveState = true;
3536

@@ -104,8 +105,10 @@ public boolean isSaveState() {
104105

105106
/**
106107
* Configure if the state of the
107-
* {@link org.springframework.batch.item.ItemStreamSupport} should be persisted within
108-
* the {@link org.springframework.batch.item.ExecutionContext} for restart purposes.
108+
* {@link org.springframework.batch.infrastructure.item.ItemStreamSupport} should be
109+
* persisted within the
110+
* {@link org.springframework.batch.infrastructure.item.ExecutionContext} for restart
111+
* purposes.
109112
* @param saveState defaults to true
110113
*/
111114
public void setSaveState(boolean saveState) {
@@ -123,10 +126,10 @@ public String getName() {
123126

124127
/**
125128
* The name used to calculate the key within the
126-
* {@link org.springframework.batch.item.ExecutionContext}. Required if
129+
* {@link org.springframework.batch.infrastructure.item.ExecutionContext}. Required if
127130
* {@link #setSaveState} is set to true.
128131
* @param name name of the reader instance
129-
* @see org.springframework.batch.item.ItemStreamSupport#setName(String)
132+
* @see org.springframework.batch.infrastructure.item.ItemStreamSupport#setName(String)
130133
*/
131134
public void setName(String name) {
132135
this.name = name;
@@ -143,7 +146,7 @@ public int getMaxItemCount() {
143146
/**
144147
* Configure the max number of items to be read.
145148
* @param maxItemCount the max items to be read
146-
* @see org.springframework.batch.item.support.AbstractItemCountingItemStreamItemReader#setMaxItemCount(int)
149+
* @see org.springframework.batch.infrastructure.item.support.AbstractItemCountingItemStreamItemReader#setMaxItemCount(int)
147150
*/
148151
public void setMaxItemCount(int maxItemCount) {
149152
this.maxItemCount = maxItemCount;
@@ -160,7 +163,7 @@ public int getCurrentItemCount() {
160163
/**
161164
* Index for the current item. Also used on restarts to indicate where to start from.
162165
* @param currentItemCount current index
163-
* @see org.springframework.batch.item.support.AbstractItemCountingItemStreamItemReader#setCurrentItemCount(int)
166+
* @see org.springframework.batch.infrastructure.item.support.AbstractItemCountingItemStreamItemReader#setCurrentItemCount(int)
164167
*/
165168
public void setCurrentItemCount(int currentItemCount) {
166169
this.currentItemCount = currentItemCount;
@@ -178,7 +181,7 @@ public int getFetchSize() {
178181
/**
179182
* Sets the number of items to return each time the cursor fetches from the server.
180183
* @param fetchSize the number of items
181-
* @see org.springframework.batch.item.database.builder.JdbcCursorItemReaderBuilder#fetchSize(int)
184+
* @see org.springframework.batch.infrastructure.item.database.builder.JdbcCursorItemReaderBuilder#fetchSize(int)
182185
*/
183186
public void setFetchSize(int fetchSize) {
184187
this.fetchSize = fetchSize;
@@ -195,7 +198,7 @@ public int getMaxRows() {
195198
/**
196199
* Sets the maximum number of rows to be read with this reader.
197200
* @param maxRows maximum number of items
198-
* @see org.springframework.batch.item.database.builder.JdbcCursorItemReaderBuilder#maxRows(int)
201+
* @see org.springframework.batch.infrastructure.item.database.builder.JdbcCursorItemReaderBuilder#maxRows(int)
199202
*/
200203
public void setMaxRows(int maxRows) {
201204
this.maxRows = maxRows;
@@ -212,7 +215,7 @@ public int getQueryTimeout() {
212215
/**
213216
* Sets the time in milliseconds for the query to timeout.
214217
* @param queryTimeout milliseconds
215-
* @see org.springframework.batch.item.database.builder.JdbcCursorItemReaderBuilder#queryTimeout(int)
218+
* @see org.springframework.batch.infrastructure.item.database.builder.JdbcCursorItemReaderBuilder#queryTimeout(int)
216219
*/
217220
public void setQueryTimeout(int queryTimeout) {
218221
this.queryTimeout = queryTimeout;
@@ -229,7 +232,7 @@ public boolean isIgnoreWarnings() {
229232
/**
230233
* Sets if SQL warnings should be ignored.
231234
* @param ignoreWarnings indicator if the warnings should be ignored
232-
* @see org.springframework.batch.item.database.builder.JdbcCursorItemReaderBuilder#ignoreWarnings(boolean)
235+
* @see org.springframework.batch.infrastructure.item.database.builder.JdbcCursorItemReaderBuilder#ignoreWarnings(boolean)
233236
*/
234237
public void setIgnoreWarnings(boolean ignoreWarnings) {
235238
this.ignoreWarnings = ignoreWarnings;
@@ -247,7 +250,7 @@ public boolean isVerifyCursorPosition() {
247250
/**
248251
* Provides if the cursor's position should be validated with each item read.
249252
* @param verifyCursorPosition true if the position should be validated
250-
* @see org.springframework.batch.item.database.builder.JdbcCursorItemReaderBuilder#verifyCursorPosition(boolean)
253+
* @see org.springframework.batch.infrastructure.item.database.builder.JdbcCursorItemReaderBuilder#verifyCursorPosition(boolean)
251254
*/
252255
public void setVerifyCursorPosition(boolean verifyCursorPosition) {
253256
this.verifyCursorPosition = verifyCursorPosition;
@@ -264,7 +267,7 @@ public boolean isDriverSupportsAbsolute() {
264267
/**
265268
* Sets if the driver supports absolute positioning of a cursor.
266269
* @param driverSupportsAbsolute true if the driver supports absolute positioning
267-
* @see org.springframework.batch.item.database.builder.JdbcCursorItemReaderBuilder#driverSupportsAbsolute(boolean)
270+
* @see org.springframework.batch.infrastructure.item.database.builder.JdbcCursorItemReaderBuilder#driverSupportsAbsolute(boolean)
268271
*/
269272
public void setDriverSupportsAbsolute(boolean driverSupportsAbsolute) {
270273
this.driverSupportsAbsolute = driverSupportsAbsolute;
@@ -284,7 +287,7 @@ public boolean isUseSharedExtendedConnection() {
284287
* processing and is, therefore, part of the same transaction.
285288
* @param useSharedExtendedConnection true if the connection is shared beyond this
286289
* query
287-
* @see org.springframework.batch.item.database.builder.JdbcCursorItemReaderBuilder#useSharedExtendedConnection(boolean)
290+
* @see org.springframework.batch.infrastructure.item.database.builder.JdbcCursorItemReaderBuilder#useSharedExtendedConnection(boolean)
288291
*/
289292
public void setUseSharedExtendedConnection(boolean useSharedExtendedConnection) {
290293
this.useSharedExtendedConnection = useSharedExtendedConnection;
@@ -301,7 +304,7 @@ public String getSql() {
301304
/**
302305
* Sets the SQL query to be executed.
303306
* @param sql the query
304-
* @see org.springframework.batch.item.database.builder.JdbcCursorItemReaderBuilder#sql(String)
307+
* @see org.springframework.batch.infrastructure.item.database.builder.JdbcCursorItemReaderBuilder#sql(String)
305308
*/
306309
public void setSql(String sql) {
307310
this.sql = sql;

spring-cloud-starter-single-step-batch-job/src/main/java/org/springframework/cloud/task/batch/autoconfigure/kafka/KafkaItemReaderProperties.java

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class KafkaItemReaderProperties {
3232

3333
/**
3434
* The name used to calculate the key within the
35-
* {@link org.springframework.batch.item.ExecutionContext}.
35+
* {@link org.springframework.batch.infrastructure.item.ExecutionContext}.
3636
*/
3737
private String name;
3838

@@ -55,9 +55,10 @@ public class KafkaItemReaderProperties {
5555

5656
/**
5757
* Configure whether the state of the
58-
* {@link org.springframework.batch.item.ItemStreamSupport} should be persisted within
59-
* the {@link org.springframework.batch.item.ExecutionContext} for restart purposes.
60-
* Defaults to {@code true}.
58+
* {@link org.springframework.batch.infrastructure.item.ItemStreamSupport} should be
59+
* persisted within the
60+
* {@link org.springframework.batch.infrastructure.item.ExecutionContext} for restart
61+
* purposes. Defaults to {@code true}.
6162
*/
6263
private boolean saveState = true;
6364

@@ -72,9 +73,9 @@ public String getName() {
7273

7374
/**
7475
* The name used to calculate the key within the
75-
* {@link org.springframework.batch.item.ExecutionContext}.
76+
* {@link org.springframework.batch.infrastructure.item.ExecutionContext}.
7677
* @param name name of the writer instance
77-
* @see org.springframework.batch.item.ItemStreamSupport#setName(String)
78+
* @see org.springframework.batch.infrastructure.item.ItemStreamSupport#setName(String)
7879
*/
7980
public void setName(String name) {
8081
this.name = name;
@@ -132,9 +133,10 @@ public void setPollTimeOutInSeconds(long pollTimeOutInSeconds) {
132133

133134
/**
134135
* Configure if the state of the
135-
* {@link org.springframework.batch.item.ItemStreamSupport} should be persisted within
136-
* the {@link org.springframework.batch.item.ExecutionContext} for restart purposes.
137-
* Defaults to true.
136+
* {@link org.springframework.batch.infrastructure.item.ItemStreamSupport} should be
137+
* persisted within the
138+
* {@link org.springframework.batch.infrastructure.item.ExecutionContext} for restart
139+
* purposes. Defaults to true.
138140
* @return current status of the saveState flag.
139141
*/
140142
public boolean isSaveState() {
@@ -143,8 +145,10 @@ public boolean isSaveState() {
143145

144146
/**
145147
* Configure if the state of the
146-
* {@link org.springframework.batch.item.ItemStreamSupport} should be persisted within
147-
* the {@link org.springframework.batch.item.ExecutionContext} for restart purposes.
148+
* {@link org.springframework.batch.infrastructure.item.ItemStreamSupport} should be
149+
* persisted within the
150+
* {@link org.springframework.batch.infrastructure.item.ExecutionContext} for restart
151+
* purposes.
148152
* @param saveState true if state should be persisted. Defaults to true.
149153
*/
150154
public void setSaveState(boolean saveState) {

spring-cloud-starter-single-step-batch-job/src/main/resources/META-INF/spring-configuration-metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
},
9595
{
9696
"name": "spring.batch.job.flatfilereader.ranges",
97-
"type": "java.util.List<org.springframework.batch.item.file.transform.Range>",
97+
"type": "java.util.List<org.springframework.batch.infrastructure.item.file.transform.Range>",
9898
"sourceType": "org.springframework.cloud.task.batch.autoconfigure.flatfile.FlatFileItemReaderProperties"
9999
},
100100
{

0 commit comments

Comments
 (0)