Package io.jmix.quartz.service
Class JobSaveContext
java.lang.Object
io.jmix.quartz.service.JobSaveContext
Parameters of the
QuartzService.saveJob(JobSaveContext) operation.
Job data parameters and triggers are taken from the JobModel collections.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable org.quartz.JobKeysetOriginalJobKey(@Nullable org.quartz.JobKey originalJobKey) Sets the key the job currently has in the Quartz engine, which defines what the save does:null(the default) means creation of a new job, a key equal to the one built from theJobModelname and group means an in-place update, a different key makes the save recreate the job under the new key.
-
Field Details
-
jobModel
-
originalJobKey
protected org.quartz.JobKey originalJobKey
-
-
Constructor Details
-
JobSaveContext
-
-
Method Details
-
getJobModel
-
getOriginalJobKey
public @Nullable org.quartz.JobKey getOriginalJobKey() -
setOriginalJobKey
Sets the key the job currently has in the Quartz engine, which defines what the save does:null(the default) means creation of a new job, a key equal to the one built from theJobModelname and group means an in-place update, a different key makes the save recreate the job under the new key. SeeQuartzService.saveJob(JobSaveContext)for the complete contract, including the failure cases.
-