Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionDeprecated as of v5.0 and scheduled for removal in v5.2 in favor of using the
StepBuilder
.since 5.0, scheduled for removal in 5.2. UseJobParametersConverter.getProperties(JobParameters)
since 5.0, scheduled for removal in 5.2. UseJobParametersBuilder.addJobParameter(java.lang.String, org.springframework.batch.core.JobParameter<?>)
.useJobOperator.start(String, Properties)
instead. Will be removed in v5.2.since 5.0 with no replacement. Scheduled for removal in 5.2.Since v5.0.0 for removal in v5.2.0. UseTaskExecutorJobLauncher
.since 5.0, scheduled for removal in 6.0. Use a pooledTaskExecutor
implementation with a limited capacity of its task queue instead.since 5.0 with no replacement. Scheduled for removal in 5.2.since 5.0 for removal in 5.2. Use theJpaCursorItemReaderBuilder
instead.since 5.0 for removal in 5.2. Use theJpaItemWriterBuilder
instead.since 5.0 for removal in 5.2. Use theJpaPagingItemReaderBuilder
instead.since 5.0 for removal in 5.2. Use theJpaCursorItemReader
instead.since 5.0 for removal in 5.2. Use the JPA item readers instead.since 5.0 for removal in 5.2. Use theJpaItemWriter
instead.since 5.0 for removal in 5.2. Use theJpaPagingItemReader
instead.since 5.0 for removal in 5.2. Use theJpaNativeQueryProvider
instead.since 5.0 for removal in 5.2. Use theJpaQueryProvider
instead.since 5.0 in favor ofItemStream.close()
. Scheduled for removal in 5.2.since 5.0 in favor ofItemStream.open(ExecutionContext)
()}. Scheduled for removal in 5.2.since 5.0 in favor ofItemStream.update(ExecutionContext)
()}. Scheduled for removal in 5.2.since 5.0 with no replacement. Scheduled for removal in 6.0.since 5.0, scheduled for removal in 6.0. Use a pooledTaskExecutor
implemenation with a limited capacity of its task queue instead.since 5.0 with no replacement. Scheduled for removal in 6.0.since 5.0 with no replacement. Scheduled for removal in 5.2.since 5.0 (for removal in 5.2) in favor of test utilities provided by modern test libraries like JUnit 5, AssertJ, etc.since 5.0 in favor of similar utilities provided by Spring Framework. Scheduled for removal in 5.2.use {MetaDataInstanceFactory.createJobExecution(String, Long, Long, JobParameters)
} instead. Will be removed in v5.2
-
Deprecated Interfaces
-
Deprecated ClassesClassDescriptionDeprecated as of v5.0 and scheduled for removal in v5.2 in favor of using the
JobBuilder
.Deprecated as of v5.0 and scheduled for removal in v5.2 in favor of using theStepBuilder
.since 5.0 with no replacement. Scheduled for removal in 5.2.Since v5.0.0 for removal in v5.2.0. UseTaskExecutorJobLauncher
.as of 5.0, in favor of the default methods on theChunkListener
as of 5.0, in favor of the default methods on theJobExecutionListener
as of v5.0 in favor of the default methods inSkipListener
.as of 5.0, in favor of the default methods on theStepExecutionListener
since 5.0 with no replacement. Scheduled for removal in 5.2.since 5.0 in favor of the item reader builder from https://github.com/spring-projects/spring-batch-extensions/blob/main/spring-batch-neo4jsince 5.0 in favor of the item writer builder from https://github.com/spring-projects/spring-batch-extensions/blob/main/spring-batch-neo4jsince 5.0 in favor of the item reader from https://github.com/spring-projects/spring-batch-extensions/blob/main/spring-batch-neo4jsince 5.0 in favor of the item writer from https://github.com/spring-projects/spring-batch-extensions/blob/main/spring-batch-neo4jsince 5.0 for removal in 5.2. Use theJpaCursorItemReaderBuilder
instead.since 5.0 for removal in 5.2. Use theJpaItemWriterBuilder
instead.since 5.0 for removal in 5.2. Use theJpaPagingItemReaderBuilder
instead.since 5.0 for removal in 5.2. Use theJpaCursorItemReader
instead.since 5.0 for removal in 5.2. Use the JPA item readers instead.since 5.0 for removal in 5.2. Use theJpaItemWriter
instead.since 5.0 for removal in 5.2. Use theJpaPagingItemReader
instead.since 5.0 for removal in 5.2. Use theJpaNativeQueryProvider
instead.as of v5.0 in favor of the default methods inRepeatListener
.since 5.0 with no replacement. Scheduled for removal in 6.0.since 5.0 with no replacement. Scheduled for removal in 6.0.since 5.0 (for removal in 5.2) in favor of test utilities provided by modern test libraries like JUnit 5, AssertJ, etc.since 5.0 in favor of similar utilities provided by Spring Framework. Scheduled for removal in 5.2.
-
Deprecated Annotation InterfacesAnnotation InterfaceDescriptionsince 5.0 with no replacement. Scheduled for removal in 5.2.
-
Deprecated MethodsMethodDescriptionsince 5.0, scheduled for removal in 5.2. Use
JobParametersConverter.getProperties(JobParameters)
since 5.0, scheduled for removal in 5.2. UseJobParametersBuilder.addJobParameter(java.lang.String, org.springframework.batch.core.JobParameter<?>)
.useJobOperator.start(String, Properties)
instead. Will be removed in v5.2.as of v5.0 in favor of using theJdbcJobInstanceDao.setJobInstanceIncrementer(org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer)
since 5.0, scheduled for removal in 6.0. Use a pooledTaskExecutor
implementation with a limited capacity of its task queue instead.org.springframework.batch.integration.partition.RemotePartitioningWorkerStepBuilder.tasklet(Tasklet) since 5.0 in favor ofItemStream.close()
. Scheduled for removal in 5.2.since 5.0 in favor ofItemStream.open(ExecutionContext)
()}. Scheduled for removal in 5.2.since 5.0 in favor ofItemStream.update(ExecutionContext)
()}. Scheduled for removal in 5.2.since 5.0, scheduled for removal in 6.0. Use a pooledTaskExecutor
implemenation with a limited capacity of its task queue instead.use {MetaDataInstanceFactory.createJobExecution(String, Long, Long, JobParameters)
} instead. Will be removed in v5.2
-
Deprecated ConstructorsConstructorDescription
JobBuilder
.