public static JobDetail convert2JobDetail(JobInfo info) {
        JobKey jobKey = JobKey.jobKey(info.getName());
        JobDetail jobDetail = newJob(info.getJobClass()).
                withIdentity(jobKey).
                build();
        return jobDetail;
    }
public static JobDetail convert2JobDetail(JobInfo info) {
        JobKey jobKey = JobKey.jobKey(info.getName());
        JobDetail jobDetail = newJob(info.getJobClass()).
                withIdentity(jobKey).
                build();
        return jobDetail;
    }
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.

@param info job annotation
@return
Creates an identical JobDetail instance from the given parameters .