Interface StoppableStep

All Superinterfaces:
Step
All Known Implementing Classes:
AbstractStep, ChunkOrientedStep, FlowStep, JobStep, PartitionStep, RemoteStep, TaskletStep

public interface StoppableStep extends Step
Extension of the Step interface to be implemented by steps that support being stopped.
Since:
6.0
Author:
Mahmoud Ben Hassine
  • Method Details

    • stop

      default void stop(StepExecution stepExecution)
      Callback to signal the step to stop. The default implementation marks the StepExecution as 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