public class ImportScheduler extends Object implements org.springframework.beans.factory.InitializingBean
| Modifier and Type | Field and Description | 
|---|---|
protected static String | 
JOB_GROUP
Constant  
JOB_GROUP="Provisiond" | 
| Modifier | Constructor and Description | 
|---|---|
protected  | 
ImportScheduler(org.quartz.Scheduler scheduler)
Constructor for ImportScheduler. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
afterPropertiesSet()
afterPropertiesSet 
 | 
protected void | 
buildImportSchedule()
buildImportSchedule 
 | 
org.quartz.spi.JobFactory | 
getImportJobFactory()
getImportJobFactory 
 | 
protected Provisioner | 
getProvisioner()
getProvisioner 
 | 
org.quartz.Scheduler | 
getScheduler()
getScheduler 
 | 
void | 
pause()
pause 
 | 
protected void | 
rebuildImportSchedule()
Removes all jobs from the current scheduled and the builds a new schedule
 from the reloaded configuration. 
 | 
protected void | 
removeCurrentJobsFromSchedule()
Iterates of current job list and removes each job from the underlying schedule 
 | 
void | 
resume()
resume 
 | 
void | 
setImportJobFactory(org.quartz.spi.JobFactory importJobFactory)
setImportJobFactory 
 | 
void | 
setProvisioner(Provisioner provisioner)
setProvisioner 
 | 
void | 
standBy()
standBy 
 | 
void | 
start()
start 
 | 
void | 
stop()
stop 
 | 
protected static final String JOB_GROUP
JOB_GROUP="Provisiond"protected ImportScheduler(org.quartz.Scheduler scheduler)
Constructor for ImportScheduler.
scheduler - a Scheduler object.public void afterPropertiesSet()
                        throws Exception
afterPropertiesSet
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic void start()
           throws org.quartz.SchedulerException
start
org.quartz.SchedulerException - if any.public void pause()
           throws org.quartz.SchedulerException
pause
org.quartz.SchedulerException - if any.public void standBy()
             throws org.quartz.SchedulerException
standBy
org.quartz.SchedulerException - if any.public void resume()
            throws org.quartz.SchedulerException
resume
org.quartz.SchedulerException - if any.public void stop()
          throws org.quartz.SchedulerException
stop
org.quartz.SchedulerException - if any.protected void rebuildImportSchedule()
                              throws Exception
Exception - if any.protected void removeCurrentJobsFromSchedule()
                                      throws org.quartz.SchedulerException
org.quartz.SchedulerException - if any.protected void buildImportSchedule()
buildImportSchedule
public org.quartz.Scheduler getScheduler()
getScheduler
Scheduler object.public void setProvisioner(Provisioner provisioner)
setProvisioner
provisioner - a Provisioner object.protected final Provisioner getProvisioner()
getProvisioner
Provisioner object.public void setImportJobFactory(org.quartz.spi.JobFactory importJobFactory)
setImportJobFactory
importJobFactory - a JobFactory object.public org.quartz.spi.JobFactory getImportJobFactory()
getImportJobFactory
JobFactory object.Copyright © 2020. All rights reserved.