Skip to content

Commit d95397f

Browse files
committed
Move job and step APIs in their dedicated packages
Resolves #4877
1 parent bfe487c commit d95397f

File tree

608 files changed

+1672
-1680
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

608 files changed

+1672
-1680
lines changed

spring-batch-core/src/main/java/org/springframework/batch/core/annotation/AfterJob.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
import java.lang.annotation.RetentionPolicy;
2222
import java.lang.annotation.Target;
2323

24-
import org.springframework.batch.core.Job;
25-
import org.springframework.batch.core.JobExecution;
24+
import org.springframework.batch.core.job.Job;
25+
import org.springframework.batch.core.job.JobExecution;
2626
import org.springframework.batch.core.listener.JobExecutionListener;
2727

2828
/**

spring-batch-core/src/main/java/org/springframework/batch/core/annotation/AfterStep.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
import java.lang.annotation.Target;
2323

2424
import org.springframework.batch.core.ExitStatus;
25-
import org.springframework.batch.core.Step;
26-
import org.springframework.batch.core.StepExecution;
25+
import org.springframework.batch.core.step.Step;
26+
import org.springframework.batch.core.step.StepExecution;
2727
import org.springframework.batch.core.listener.StepExecutionListener;
2828

2929
/**

spring-batch-core/src/main/java/org/springframework/batch/core/annotation/BeforeJob.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
import java.lang.annotation.RetentionPolicy;
2222
import java.lang.annotation.Target;
2323

24-
import org.springframework.batch.core.Job;
25-
import org.springframework.batch.core.JobExecution;
24+
import org.springframework.batch.core.job.Job;
25+
import org.springframework.batch.core.job.JobExecution;
2626
import org.springframework.batch.core.listener.JobExecutionListener;
27-
import org.springframework.batch.core.Step;
27+
import org.springframework.batch.core.step.Step;
2828
import org.springframework.beans.factory.annotation.Qualifier;
2929

3030
/**

spring-batch-core/src/main/java/org/springframework/batch/core/annotation/BeforeStep.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
import java.lang.annotation.RetentionPolicy;
2222
import java.lang.annotation.Target;
2323

24-
import org.springframework.batch.core.Step;
25-
import org.springframework.batch.core.StepExecution;
24+
import org.springframework.batch.core.step.Step;
25+
import org.springframework.batch.core.step.StepExecution;
2626
import org.springframework.batch.core.listener.StepExecutionListener;
2727

2828
/**

spring-batch-core/src/main/java/org/springframework/batch/core/aot/CoreRuntimeHints.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@
5151
import org.springframework.aot.hint.TypeReference;
5252
import org.springframework.batch.core.Entity;
5353
import org.springframework.batch.core.ExitStatus;
54-
import org.springframework.batch.core.JobExecution;
55-
import org.springframework.batch.core.JobInstance;
56-
import org.springframework.batch.core.JobParameter;
57-
import org.springframework.batch.core.JobParameters;
58-
import org.springframework.batch.core.StepContribution;
59-
import org.springframework.batch.core.StepExecution;
54+
import org.springframework.batch.core.job.JobExecution;
55+
import org.springframework.batch.core.job.JobInstance;
56+
import org.springframework.batch.core.job.parameters.JobParameter;
57+
import org.springframework.batch.core.job.parameters.JobParameters;
58+
import org.springframework.batch.core.step.StepContribution;
59+
import org.springframework.batch.core.step.StepExecution;
6060
import org.springframework.batch.core.scope.context.JobContext;
6161
import org.springframework.batch.core.scope.context.StepContext;
6262
import org.springframework.batch.item.Chunk;

spring-batch-core/src/main/java/org/springframework/batch/core/configuration/DuplicateJobException.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
*/
1616
package org.springframework.batch.core.configuration;
1717

18-
import org.springframework.batch.core.Job;
19-
import org.springframework.batch.core.JobExecutionException;
18+
import org.springframework.batch.core.job.Job;
19+
import org.springframework.batch.core.job.JobExecutionException;
2020

2121
/**
2222
* Checked exception that indicates a name clash when registering {@link Job} instances.

spring-batch-core/src/main/java/org/springframework/batch/core/configuration/JobFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
package org.springframework.batch.core.configuration;
1717

18-
import org.springframework.batch.core.Job;
18+
import org.springframework.batch.core.job.Job;
1919

2020
/**
2121
* Strategy for creating a single job.

spring-batch-core/src/main/java/org/springframework/batch/core/configuration/JobLocator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
package org.springframework.batch.core.configuration;
1717

18-
import org.springframework.batch.core.Job;
18+
import org.springframework.batch.core.job.Job;
1919
import org.springframework.batch.core.launch.NoSuchJobException;
2020
import org.springframework.lang.Nullable;
2121

spring-batch-core/src/main/java/org/springframework/batch/core/configuration/JobRegistry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
import java.util.Collection;
1919

20-
import org.springframework.batch.core.Job;
20+
import org.springframework.batch.core.job.Job;
2121
import org.springframework.batch.core.launch.NoSuchJobException;
2222

2323
/**

spring-batch-core/src/main/java/org/springframework/batch/core/configuration/StepRegistry.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
*/
1616
package org.springframework.batch.core.configuration;
1717

18-
import org.springframework.batch.core.Step;
18+
import org.springframework.batch.core.step.Step;
19+
import org.springframework.batch.core.job.Job;
1920
import org.springframework.batch.core.launch.NoSuchJobException;
2021
import org.springframework.batch.core.step.NoSuchStepException;
2122

2223
import java.util.Collection;
2324

2425
/**
25-
* Registry keeping track of all the {@link Step} instances defined in a
26-
* {@link org.springframework.batch.core.Job}.
26+
* Registry keeping track of all the {@link Step} instances defined in a {@link Job}.
2727
*
2828
* @author Sebastien Gerard
2929
* @author Stephane Nicoll

0 commit comments

Comments
 (0)