public interface JobLifecycleComponent
Modifier and Type | Method and Description |
---|---|
JobLifecycleStatus |
beforeJobExecution(JobPreExecutionEvent event)
It triggers before the job execution context exist
|
JobLifecycleStatus |
beforeSaveJob(JobPersistEvent event)
It triggers when a job is persisted
|
JobLifecycleStatus beforeJobExecution(JobPreExecutionEvent event) throws JobLifecycleComponentException
event
- event execution dataJobLifecycleComponentException
JobLifecycleStatus beforeSaveJob(JobPersistEvent event) throws JobLifecycleComponentException
event
- event saving dataJobLifecycleComponentException