Package org.jobrunr.jobs.filters
Interface ApplyStateFilter
-
- All Superinterfaces:
JobFilter
public interface ApplyStateFilter extends JobFilter
A filter that is triggered each time that the state of a Job has changed (except when the Job is deleted via the Dashboard). Can be useful for adding extra logging, ... . This filter will be called after that the job has been saved to aStorageProvider
. Altering the job will not have any influence as it is not saved.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onStateApplied(Job job, JobState oldState, JobState newState)
-