Home » quartz-1.6.0 » org » quartz » impl » [javadoc | source]
org.quartz.impl
public class: StdScheduler [javadoc | source]
java.lang.Object
   org.quartz.impl.StdScheduler

All Implemented Interfaces:
    Scheduler

An implementation of the Scheduler interface that directly proxies all method calls to the equivalent call on a given QuartzScheduler instance.

Constructor:
 public StdScheduler(QuartzScheduler sched,
    SchedulingContext schedCtxt) 

    Construct a StdScheduler instance to proxy the given QuartzScheduler instance, and with the given SchedulingContext.

Method from org.quartz.impl.StdScheduler Summary:
addCalendar,   addGlobalJobListener,   addGlobalTriggerListener,   addJob,   addJobListener,   addSchedulerListener,   addTriggerListener,   deleteCalendar,   deleteJob,   getCalendar,   getCalendarNames,   getContext,   getCurrentlyExecutingJobs,   getGlobalJobListener,   getGlobalJobListeners,   getGlobalTriggerListener,   getGlobalTriggerListeners,   getJobDetail,   getJobGroupNames,   getJobListener,   getJobListenerNames,   getJobNames,   getMetaData,   getPausedTriggerGroups,   getSchedulerInstanceId,   getSchedulerListeners,   getSchedulerName,   getTrigger,   getTriggerGroupNames,   getTriggerListener,   getTriggerListenerNames,   getTriggerNames,   getTriggerState,   getTriggersOfJob,   interrupt,   isInStandbyMode,   isPaused,   isShutdown,   isStarted,   pause,   pauseAll,   pauseJob,   pauseJobGroup,   pauseTrigger,   pauseTriggerGroup,   removeGlobalJobListener,   removeGlobalJobListener,   removeGlobalTriggerListener,   removeGlobalTriggerListener,   removeJobListener,   removeSchedulerListener,   removeTriggerListener,   rescheduleJob,   resumeAll,   resumeJob,   resumeJobGroup,   resumeTrigger,   resumeTriggerGroup,   scheduleJob,   scheduleJob,   setJobFactory,   shutdown,   shutdown,   standby,   start,   triggerJob,   triggerJob,   triggerJobWithVolatileTrigger,   triggerJobWithVolatileTrigger,   unscheduleJob
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.quartz.impl.StdScheduler Detail:
 public  void addCalendar(String calName,
    Calendar calendar,
    boolean replace,
    boolean updateTriggers) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public  void addGlobalJobListener(JobListener jobListener) 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public  void addGlobalTriggerListener(TriggerListener triggerListener) 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public  void addJob(JobDetail jobDetail,
    boolean replace) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public  void addJobListener(JobListener jobListener) 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public  void addSchedulerListener(SchedulerListener schedulerListener) 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public  void addTriggerListener(TriggerListener triggerListener) 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public boolean deleteCalendar(String calName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public boolean deleteJob(String jobName,
    String groupName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public Calendar getCalendar(String calName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public String[] getCalendarNames() throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public SchedulerContext getContext() throws SchedulerException 

    Returns the SchedulerContext of the Scheduler.

 public List getCurrentlyExecutingJobs() 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public JobListener getGlobalJobListener(String name) 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public List getGlobalJobListeners() 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public TriggerListener getGlobalTriggerListener(String name) 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public List getGlobalTriggerListeners() 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public JobDetail getJobDetail(String jobName,
    String jobGroup) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public String[] getJobGroupNames() throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public JobListener getJobListener(String name) 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public Set getJobListenerNames() 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public String[] getJobNames(String groupName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public SchedulerMetaData getMetaData() 
 public Set getPausedTriggerGroups() throws SchedulerException 
 public String getSchedulerInstanceId() 

    Returns the instance Id of the Scheduler.

 public List getSchedulerListeners() 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public String getSchedulerName() 

    Returns the name of the Scheduler.

 public Trigger getTrigger(String triggerName,
    String triggerGroup) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public String[] getTriggerGroupNames() throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public TriggerListener getTriggerListener(String name) 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public Set getTriggerListenerNames() 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public String[] getTriggerNames(String groupName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public int getTriggerState(String triggerName,
    String triggerGroup) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public Trigger[] getTriggersOfJob(String jobName,
    String groupName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public boolean interrupt(String jobName,
    String groupName) throws UnableToInterruptJobException 
 public boolean isInStandbyMode() 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public boolean isPaused() 
Deprecated!
 public boolean isShutdown() 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public boolean isStarted() 
    Whether the scheduler has been started.

    Note: This only reflects whether #start() has ever been called on this Scheduler, so it will return true even if the Scheduler is currently in standby mode or has been since shutdown.

 public  void pause() 
Deprecated!

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public  void pauseAll() throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public  void pauseJob(String jobName,
    String groupName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public  void pauseJobGroup(String groupName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public  void pauseTrigger(String triggerName,
    String groupName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public  void pauseTriggerGroup(String groupName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public boolean removeGlobalJobListener(JobListener jobListener) 
Deprecated! Use - #removeGlobalJobListener(String)

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public boolean removeGlobalJobListener(String name) 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public boolean removeGlobalTriggerListener(TriggerListener triggerListener) 
Deprecated! Use - #removeGlobalTriggerListener(String)

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public boolean removeGlobalTriggerListener(String name) 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public boolean removeJobListener(String name) 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public boolean removeSchedulerListener(SchedulerListener schedulerListener) 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public boolean removeTriggerListener(String name) 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public Date rescheduleJob(String triggerName,
    String groupName,
    Trigger newTrigger) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public  void resumeAll() throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public  void resumeJob(String jobName,
    String groupName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public  void resumeJobGroup(String groupName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public  void resumeTrigger(String triggerName,
    String groupName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public  void resumeTriggerGroup(String groupName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public Date scheduleJob(Trigger trigger) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public Date scheduleJob(JobDetail jobDetail,
    Trigger trigger) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public  void setJobFactory(JobFactory factory) throws SchedulerException 
 public  void shutdown() 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public  void shutdown(boolean waitForJobsToComplete) 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public  void standby() 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public  void start() throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler.

 public  void triggerJob(String jobName,
    String groupName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public  void triggerJob(String jobName,
    String groupName,
    JobDataMap data) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public  void triggerJobWithVolatileTrigger(String jobName,
    String groupName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public  void triggerJobWithVolatileTrigger(String jobName,
    String groupName,
    JobDataMap data) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.

 public boolean unscheduleJob(String triggerName,
    String groupName) throws SchedulerException 

    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associated with this instance.