public JobDetail build() {

    JobDetailImpl job = new JobDetailImpl();

    job.setJobClass(jobClass);
    job.setDescription(description);
    if (key == null) {
      key = UUID.randomUUID().toString();
    }
    job.setName(key);
    job.setIsConcurrencyAllowed(isConcurrencyAllowed);

    if (!jobDataMap.isEmpty()) {
      job.setJobDataMap(jobDataMap);
    }

    return job;
  }
public JobDetail build ( ) { JobDetailImpl job = new JobDetailImpl ( ) ; job . setJobClass ( jobClass ) ; job . setDescription ( description ) ; if ( key == null ) { key = UUID . randomUUID ( ) . toString ( ) ; } job . setName ( key ) ; job . setIsConcurrencyAllowed ( isConcurrencyAllowed ) ; if ( ! jobDataMap . isEmpty ( ) ) { job . setJobDataMap ( jobDataMap ) ; } return job ; }
Produce the <code>JobDetail</code> instance defined by this <code>JobBuilder</code>.

@return the defined JobDetail.