Skip to content

Commit cde3873

Browse files
wesselboelenwessel boelen
andauthored
Added recipes for JobExecutionAlreadyRunningException, JobInstanceAlreadyCompleteException and JobRestartException (#898)
Co-authored-by: wessel boelen <wessel.boelen@ing.com>
1 parent 4f379ef commit cde3873

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/main/resources/META-INF/rewrite/spring-batch-6.0.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,15 @@ recipeList:
187187
- org.openrewrite.java.ChangeType:
188188
oldFullyQualifiedTypeName: org.springframework.batch.core.repository.explore.support.JobExplorerFactoryBean
189189
newFullyQualifiedTypeName: org.springframework.batch.core.repository.explore.support.JdbcJobExplorerFactoryBean
190+
- org.openrewrite.java.ChangeType:
191+
oldFullyQualifiedTypeName: org.springframework.batch.core.repository.JobExecutionAlreadyRunningException
192+
newFullyQualifiedTypeName: org.springframework.batch.core.launch.JobExecutionAlreadyRunningException
193+
- org.openrewrite.java.ChangeType:
194+
oldFullyQualifiedTypeName: org.springframework.batch.core.repository.JobInstanceAlreadyCompleteException
195+
newFullyQualifiedTypeName: org.springframework.batch.core.launch.JobInstanceAlreadyCompleteException
196+
- org.openrewrite.java.ChangeType:
197+
oldFullyQualifiedTypeName: org.springframework.batch.core.repository.JobRestartException
198+
newFullyQualifiedTypeName: org.springframework.batch.core.launch.JobRestartException
190199

191200
- org.openrewrite.java.ChangeMethodName:
192201
methodPattern: org.springframework.batch.core.step.job.JobStep setJobLauncher(org.springframework.batch.core.launch.JobLauncher)

0 commit comments

Comments
 (0)