Package org.jeasy.batch.core.listener
Interface JobListener
-
- All Known Implementing Classes:
CompositeJobListener
public interface JobListener
Enables the implementing class to get notified before/after the batch job.- Author:
- Mario Mueller ([email protected])
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
afterJob(JobReport jobReport)
Called after the job is finished (successfully or with a failure).default void
beforeJob(JobParameters jobParameters)
Called before starting the job.
-
-
-
Method Detail
-
beforeJob
default void beforeJob(JobParameters jobParameters)
Called before starting the job.- Parameters:
jobParameters
- the job parameters
-
afterJob
default void afterJob(JobReport jobReport)
Called after the job is finished (successfully or with a failure).- Parameters:
jobReport
- The job execution report
-
-