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 | Method and Description |
---|---|
void |
execute(StepExecution stepExecution)
Process the step and assign progress and status meta information to the
StepExecution provided. |
String |
getName() |
int |
getStartLimit() |
boolean |
isAllowStartIfComplete() |
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 externallyCopyright © 2014 Pivotal. All rights reserved.