public class JobBuilder extends JobBuilderHelper<JobBuilder>
JobBuilderHelper.CommonJobProperties
logger
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, validator
public JobBuilder(java.lang.String name)
name
- the name of the jobpublic SimpleJobBuilder start(Step step)
step
- a step to executeSimpleJobBuilder
public JobFlowBuilder start(Flow flow)
flow
- a flow to executeSimpleJobBuilder
public JobFlowBuilder flow(Step step)
step
- a step to executeSimpleJobBuilder