public class JobBuilder extends JobBuilderHelper<JobBuilder>
JobBuilderHelper.CommonJobPropertieslogger| Constructor and Description |
|---|
JobBuilder(java.lang.String name)
Create a new builder for a job with the given name.
|
| Modifier and Type | Method and Description |
|---|---|
JobFlowBuilder |
flow(Step step)
Create a new job builder that will execute a step or sequence of steps.
|
JobFlowBuilder |
start(Flow flow)
Create a new job builder that will execute a flow.
|
SimpleJobBuilder |
start(Step step)
Create a new job builder that will execute a step or sequence of steps.
|
enhance, getJobRepository, getName, incrementer, isRestartable, listener, preventRestart, repository, validatorpublic JobBuilder(java.lang.String name)
name - the name of the jobpublic SimpleJobBuilder start(Step step)
step - a step to executeSimpleJobBuilderpublic JobFlowBuilder start(Flow flow)
flow - a flow to executeSimpleJobBuilderpublic JobFlowBuilder flow(Step step)
step - a step to executeSimpleJobBuilder