public interface EventJobDataBinder
JobDataMap.
Implementors may choose how to store the event message as serializable data in JobDataMap.
This is useful when one does not want to be limited to event payloads requiring to be Serializable
(used by Quartz job data map serialization).
QuartzEventScheduler,
FireEventJob| Modifier and Type | Method and Description |
|---|---|
Object |
fromJobData(org.quartz.JobDataMap jobData)
Read an
EventMessage (or its payload) from the JobDataMap. |
org.quartz.JobDataMap |
toJobData(Object eventMessage)
Write an
eventMessage (or its payload) to a JobDataMap. |
org.quartz.JobDataMap toJobData(Object eventMessage)
eventMessage (or its payload) to a JobDataMap.eventMessage - to write to the JobDataMapJobDataMap written to (must not be null)Object fromJobData(org.quartz.JobDataMap jobData)
EventMessage (or its payload) from the JobDataMap.jobData - to read fromCopyright © 2010–2023. All rights reserved.