Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,16 @@ public RemoteChunkingManagerStepBuilder<I, O> reader(ItemReader<? extends I> rea
return this;
}

/**
* Set the job repository
* @param jobRepository the repository to set
* @return this to enable fluent chaining
* @deprecated use
* {@link RemoteChunkingManagerStepBuilder#RemoteChunkingManagerStepBuilder(String, JobRepository)}
*/
@Override
@SuppressWarnings("removal")
@Deprecated(since = "5.1", forRemoval = true)
public RemoteChunkingManagerStepBuilder<I, O> repository(JobRepository jobRepository) {
super.repository(jobRepository);
return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,16 @@ private boolean isPolling() {
return this.inputChannel == null;
}

/**
* Set the job repository
* @param jobRepository the repository to set
* @return this to enable fluent chaining
* @deprecated use
* {@link RemotePartitioningManagerStepBuilder#RemotePartitioningManagerStepBuilder(String, JobRepository)}
*/
@Override
@SuppressWarnings("removal")
@Deprecated(since = "5.1", forRemoval = true)
public RemotePartitioningManagerStepBuilder repository(JobRepository jobRepository) {
super.repository(jobRepository);
return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,16 @@ public RemotePartitioningWorkerStepBuilder beanFactory(BeanFactory beanFactory)
return this;
}

/**
* Set the job repository
* @param jobRepository the repository to set
* @return this to enable fluent chaining
* @deprecated use
* {@link RemotePartitioningWorkerStepBuilder#RemotePartitioningWorkerStepBuilder(String, JobRepository)}
*/
@Override
@SuppressWarnings("removal")
@Deprecated(since = "5.1", forRemoval = true)
public RemotePartitioningWorkerStepBuilder repository(JobRepository jobRepository) {
super.repository(jobRepository);
return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ void testUnsupportedOperationExceptionWhenSpecifyingAnItemWriter() {
.reader(this.itemReader)
.writer(items -> {
})
.repository(this.jobRepository)
.transactionManager(this.transactionManager)
.inputChannel(this.inputChannel)
.outputChannel(this.outputChannel)
Expand Down