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