Class StepBuilderFactory
java.lang.Object
org.springframework.batch.core.configuration.annotation.StepBuilderFactory
Deprecated, for removal: This API element is subject to removal in a future version.
Convenient factory for a
StepBuilder
which sets the JobRepository
automatically.- Author:
- Dave Syer, Mahmoud Ben Hassine, Jinho Han
-
Constructor Summary
ConstructorDescriptionStepBuilderFactory
(JobRepository jobRepository) Deprecated, for removal: This API element is subject to removal in a future version.Constructor for theStepBuilderFactory
. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Creates a step builder and initializes its job repository.
-
Constructor Details
-
StepBuilderFactory
Deprecated, for removal: This API element is subject to removal in a future version.Constructor for theStepBuilderFactory
.- Parameters:
jobRepository
- TheJobRepository
to be used by the builder factory. Must not benull
.
-
-
Method Details
-
get
Deprecated, for removal: This API element is subject to removal in a future version.Creates a step builder and initializes its job repository. Note that, if the builder is used to create a @Bean definition, the name of the step and the bean name might be different.- Parameters:
name
- the name of the step- Returns:
- a step builder
-
StepBuilder
.