package com.eactive.eai.rms.common.scheduler;

import org.quartz.Scheduler;
import org.quartz.SchedulerException;

import com.eactive.eai.rms.data.entity.man.scheduler.JobInfo;

public interface EMSScheduler {

   void deleteJob(Scheduler scheduler, String jobName) throws SchedulerException;

   void addJob(Scheduler scheduler, JobInfo jobInfo) throws ClassNotFoundException, SchedulerException;

   void deleteAndAddJob(Scheduler scheduler, JobInfo jobInfo) throws SchedulerException, ClassNotFoundException;

   void deleteAndAddJob(Scheduler scheduler, String jobName) throws SchedulerException, ClassNotFoundException;

   void reloadJob(String jobName) throws SchedulerException, ClassNotFoundException;

}
