Package org.springframework.batch.core.annotation

# Annotation Interface BeforeStep

@Retention(RUNTIME) @Target(METHOD) public @interface BeforeStep
Marks a method to be called before a `Step` is executed, which comes after a `StepExecution` is created and persisted, but before the first item is read.
Expected signature: void beforeStep(`StepExecution` stepExecution)

Since:
  2.0
Author:
  Lucas Ward
See Also:
  - `StepExecutionListener`