public interface Step
Job
, a Step
is meant to
explicitly represent the configuration of a step by a developer, but also the ability to execute the step.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
STEP_TYPE_KEY |
Modifier and Type | Method and Description |
---|---|
void |
execute(StepExecution stepExecution)
Process the step and assign progress and status meta information to the
StepExecution provided. |
java.lang.String |
getName() |
int |
getStartLimit() |
boolean |
isAllowStartIfComplete() |
static final java.lang.String STEP_TYPE_KEY
java.lang.String getName()
boolean isAllowStartIfComplete()
int getStartLimit()
void execute(StepExecution stepExecution) throws JobInterruptedException
StepExecution
provided. The
Step
is responsible for setting the meta information and also saving it if required by the
implementation.Step
to process multiple concurrent executions.stepExecution
- an entity representing the step to be executedJobInterruptedException
- if the step is interrupted externally