public static JobDetail convert2JobDetail ( JobInfo info ) { JobKey jobKey = JobKey . jobKey ( info . getName ( ) ) ; JobDetail jobDetail = newJob ( info . getJobClass ( ) ) . withIdentity ( jobKey ) . build ( ) ; return jobDetail ; }
Creates an identical JobDetail instance from the given parameters .