Annotation Type BeforeJob
@Retention(RUNTIME) @Target(METHOD) @Qualifier("JobExecutionListener") public @interface BeforeJob
Marks a method to be called before aJob
is executed, which comes after aJobExecution
is created and persisted, but before the firstStep
is executed.
Expected signature: void beforeJob(JobExecution
jobExecution)- Since:
- 2.0
- Author:
- Lucas Ward
- See Also:
JobExecutionListener