builds the jobdetail instance for quartz , which defines the job that needs to be executed when the trigger fires . the resulting jobdetail must be identified by the given jobkey and represent a job that dispatches the given event . this method may be safely overridden to change behavior . defaults to a jobdetail to fire a fireeventjob . concode_field_sep Scheduler scheduler concode_elem_sep String DEFAULT_GROUP_NAME concode_elem_sep EventBus eventBus concode_elem_sep String groupIdentifier concode_elem_sep boolean initialized concode_elem_sep String JOB_NAME_PREFIX concode_elem_sep Logger logger concode_elem_sep UnitOfWorkFactory unitOfWorkFactory concode_field_sep ScheduleToken schedule concode_elem_sep ScheduleToken schedule concode_elem_sep void setScheduler concode_elem_sep void setUnitOfWorkFactory concode_elem_sep void cancelSchedule concode_elem_sep void initialize concode_elem_sep void setGroupIdentifier concode_elem_sep Trigger buildTrigger concode_elem_sep void setTransactionManager concode_elem_sep void setEventBus
JobDetail function ( EventMessage arg0 , JobKey arg1 ) { JobDataMap loc0 = new JobDataMap ( ) ; loc0 . put ( FireEventJob . EVENT_KEY , arg0 ) ; return JobBuilder . newJob ( FireEventJob . class ) . withDescription ( arg0 . getPayloadType ( ) . getName ( ) ) . withIdentity ( arg1 ) . usingJobData ( loc0 ) . build ( ) ; }