Deprecate overrides of StepBuilderHelper#repository for removal
This commit is contained in:
committed by
Mahmoud Ben Hassine
parent
dde5455e40
commit
89e0a0cd86
@@ -227,7 +227,16 @@ public class RemoteChunkingManagerStepBuilder<I, O> extends FaultTolerantStepBui
|
||||
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;
|
||||
|
||||
@@ -242,7 +242,16 @@ public class RemotePartitioningManagerStepBuilder extends PartitionStepBuilder {
|
||||
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;
|
||||
|
||||
@@ -157,7 +157,16 @@ public class RemotePartitioningWorkerStepBuilder extends StepBuilder {
|
||||
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;
|
||||
|
||||
@@ -190,7 +190,6 @@ class RemoteChunkingManagerStepBuilderTests {
|
||||
.reader(this.itemReader)
|
||||
.writer(items -> {
|
||||
})
|
||||
.repository(this.jobRepository)
|
||||
.transactionManager(this.transactionManager)
|
||||
.inputChannel(this.inputChannel)
|
||||
.outputChannel(this.outputChannel)
|
||||
|
||||
Reference in New Issue
Block a user