Class SingleStepJobProperties
java.lang.Object
org.springframework.cloud.task.batch.autoconfigure.SingleStepJobProperties
@ConfigurationProperties(prefix="spring.batch.job")
public class SingleStepJobProperties
extends Object
Properties to configure the step and job level properties for a single step job.
- Since:
- 2.3
- Author:
- Michael Minella
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe number of items to process per transaction/chunk.The name of the job.Name of the step in the single step job.void
setChunkSize
(Integer chunkSize) Set the number of items within a transaction/chunk.void
setJobName
(String jobName) Set the name of the job.void
setStepName
(String stepName) Set the name of the step.
-
Constructor Details
-
SingleStepJobProperties
public SingleStepJobProperties()
-
-
Method Details
-
getStepName
Name of the step in the single step job.- Returns:
- name
-
setStepName
Set the name of the step.- Parameters:
stepName
- name
-
getChunkSize
The number of items to process per transaction/chunk.- Returns:
- number of items
-
setChunkSize
Set the number of items within a transaction/chunk.- Parameters:
chunkSize
- number of items
-
getJobName
The name of the job.- Returns:
- name
-
setJobName
Set the name of the job.- Parameters:
jobName
- name
-