public void scheduleTrigger(ScheduledTrigger scheduledTrigger) throws SchedulerException {
    """
	Schedules the {@code Trigger} using the scheduler.
	@warn exception SchedulerException description missing
	@warn parameter scheduledTrigger description missing
	
	@param scheduledTrigger
	@throws SchedulerException
    """
        if (!initialized.get())
            throw new SchedulerException("Trigger service is not initialized. initialize() must be called before calling scheduleTrigger() method");
        Map jobDataMap = new HashMap();
        jobDataMap.put(TRIGGER_OPERATOR_KEY, this);
        jobDataMap.put(TRIGGER_KEY, scheduledTrigger);
        try {
            org.quartz.Trigger quartzTrigger = newTrigger()
                    .withIdentity(triggerKey(scheduledTrigger.getId(), Scheduler.DEFAULT_GROUP))
                    .withSchedule(scheduledTrigger.getScheduleBuilder())
                    .usingJobData(new JobDataMap(jobDataMap))
                    .startAt(scheduledTrigger.getStartAt())
                    .endAt(scheduledTrigger.getEndAt())
                    .build();
            scheduler.scheduleQuartzJob(scheduledTrigger.getId(), Scheduler.DEFAULT_GROUP, ScheduledTriggerJob.class, quartzTrigger);
            scheduledTrigger.setQuartzTrigger(quartzTrigger);
            logger.info("Successfully scheduled {}", scheduledTrigger);
        } catch (org.quartz.SchedulerException e) {
            throw new SchedulerException("Exception occurred while scheduling trigger: " + scheduledTrigger, e);
        }
    }
public void scheduleTrigger(ScheduledTrigger scheduledTrigger) throws SchedulerException {
        if (!initialized.get())
            throw new SchedulerException("Trigger service is not initialized. initialize() must be called before calling scheduleTrigger() method");
        Map jobDataMap = new HashMap();
        jobDataMap.put(TRIGGER_OPERATOR_KEY, this);
        jobDataMap.put(TRIGGER_KEY, scheduledTrigger);
        try {
            org.quartz.Trigger quartzTrigger = newTrigger()
                    .withIdentity(triggerKey(scheduledTrigger.getId(), Scheduler.DEFAULT_GROUP))
                    .withSchedule(scheduledTrigger.getScheduleBuilder())
                    .usingJobData(new JobDataMap(jobDataMap))
                    .startAt(scheduledTrigger.getStartAt())
                    .endAt(scheduledTrigger.getEndAt())
                    .build();
            scheduler.scheduleQuartzJob(scheduledTrigger.getId(), Scheduler.DEFAULT_GROUP, ScheduledTriggerJob.class, quartzTrigger);
            scheduledTrigger.setQuartzTrigger(quartzTrigger);
            logger.info("Successfully scheduled {}", scheduledTrigger);
        } catch (org.quartz.SchedulerException e) {
            throw new SchedulerException("Exception occurred while scheduling trigger: " + scheduledTrigger, e);
        }
    }
public void scheduleTrigger ( ScheduledTrigger scheduledTrigger ) throws SchedulerException { if ( ! initialized . get ( ) ) throw new SchedulerException ( "Trigger service is not initialized. initialize() must be called before calling scheduleTrigger() method" ) ; Map jobDataMap = new HashMap ( ) ; jobDataMap . put ( TRIGGER_OPERATOR_KEY , this ) ; jobDataMap . put ( TRIGGER_KEY , scheduledTrigger ) ; try { org . quartz . Trigger quartzTrigger = newTrigger ( ) . withIdentity ( triggerKey ( scheduledTrigger . getId ( ) , Scheduler . DEFAULT_GROUP ) ) . withSchedule ( scheduledTrigger . getScheduleBuilder ( ) ) . usingJobData ( new JobDataMap ( jobDataMap ) ) . startAt ( scheduledTrigger . getStartAt ( ) ) . endAt ( scheduledTrigger . getEndAt ( ) ) . build ( ) ; scheduler . scheduleQuartzJob ( scheduledTrigger . getId ( ) , Scheduler . DEFAULT_GROUP , ScheduledTriggerJob . class , quartzTrigger ) ; scheduledTrigger . setQuartzTrigger ( quartzTrigger ) ; logger . info ( "Successfully scheduled {}" , scheduledTrigger ) ; } catch ( org . quartz . SchedulerException e ) { throw new SchedulerException ( "Exception occurred while scheduling trigger: " + scheduledTrigger , e ) ; } }
Schedules the {@code Trigger} using the scheduler.
@warn exception SchedulerException description missing
@warn parameter scheduledTrigger description missing

@param scheduledTrigger
@throws SchedulerException
Schedules the { @code Trigger } using the scheduler . @warn exception SchedulerException description missing @warn parameter scheduledTrigger description missing