Interface StoppableStep
- All Superinterfaces:
Step
- All Known Implementing Classes:
AbstractStep, ChunkOrientedStep, FlowStep, JobStep, PartitionStep, RemoteStep, TaskletStep
-
Field Summary
Fields inherited from interface Step
STEP_TYPE_KEY -
Method Summary
Modifier and TypeMethodDescriptiondefault voidstop(StepExecution stepExecution) Callback to signal the step to stop.Methods inherited from interface Step
execute, getName, getStartLimit, isAllowStartIfComplete
-
Method Details
-
stop
Callback to signal the step to stop. The default implementation marks theStepExecutionas terminate only and set its status to stopped and its end time to the current time. Concrete implementations can override this method to add custom stop logic.- Parameters:
stepExecution- the current step execution
-