📄 stdscheduler.java
字号:
* <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>, * passing the <code>SchedulingContext</code> associated with this * instance. * </p> */ public void resumeTrigger(String triggerName, String groupName) throws SchedulerException { sched.resumeTrigger(schedCtxt, triggerName, groupName); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>, * passing the <code>SchedulingContext</code> associated with this * instance. * </p> */ public void resumeTriggerGroup(String groupName) throws SchedulerException { sched.resumeTriggerGroup(schedCtxt, groupName); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>, * passing the <code>SchedulingContext</code> associated with this * instance. * </p> */ public void resumeJob(String jobName, String groupName) throws SchedulerException { sched.resumeJob(schedCtxt, jobName, groupName); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>, * passing the <code>SchedulingContext</code> associated with this * instance. * </p> */ public void resumeJobGroup(String groupName) throws SchedulerException { sched.resumeJobGroup(schedCtxt, groupName); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>, * passing the <code>SchedulingContext</code> associated with this * instance. * </p> */ public void pauseAll() throws SchedulerException { sched.pauseAll(schedCtxt); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>, * passing the <code>SchedulingContext</code> associated with this * instance. * </p> */ public void resumeAll() throws SchedulerException { sched.resumeAll(schedCtxt); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>, * passing the <code>SchedulingContext</code> associated with this * instance. * </p> */ public String[] getJobGroupNames() throws SchedulerException { return sched.getJobGroupNames(schedCtxt); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>, * passing the <code>SchedulingContext</code> associated with this * instance. * </p> */ public Trigger[] getTriggersOfJob(String jobName, String groupName) throws SchedulerException { return sched.getTriggersOfJob(schedCtxt, jobName, groupName); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>, * passing the <code>SchedulingContext</code> associated with this * instance. * </p> */ public String[] getJobNames(String groupName) throws SchedulerException { return sched.getJobNames(schedCtxt, groupName); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>, * passing the <code>SchedulingContext</code> associated with this * instance. * </p> */ public String[] getTriggerGroupNames() throws SchedulerException { return sched.getTriggerGroupNames(schedCtxt); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>, * passing the <code>SchedulingContext</code> associated with this * instance. * </p> */ public String[] getTriggerNames(String groupName) throws SchedulerException { return sched.getTriggerNames(schedCtxt, groupName); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>, * passing the <code>SchedulingContext</code> associated with this * instance. * </p> */ public JobDetail getJobDetail(String jobName, String jobGroup) throws SchedulerException { return sched.getJobDetail(schedCtxt, jobName, jobGroup); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>, * passing the <code>SchedulingContext</code> associated with this * instance. * </p> */ public Trigger getTrigger(String triggerName, String triggerGroup) throws SchedulerException { return sched.getTrigger(schedCtxt, triggerName, triggerGroup); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>, * passing the <code>SchedulingContext</code> associated with this * instance. * </p> */ public int getTriggerState(String triggerName, String triggerGroup) throws SchedulerException { return sched.getTriggerState(schedCtxt, triggerName, triggerGroup); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>, * passing the <code>SchedulingContext</code> associated with this * instance. * </p> */ public void addCalendar(String calName, Calendar calendar, boolean replace, boolean updateTriggers) throws SchedulerException { sched.addCalendar(schedCtxt, calName, calendar, replace, updateTriggers); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>, * passing the <code>SchedulingContext</code> associated with this * instance. * </p> */ public boolean deleteCalendar(String calName) throws SchedulerException { return sched.deleteCalendar(schedCtxt, calName); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>, * passing the <code>SchedulingContext</code> associated with this * instance. * </p> */ public Calendar getCalendar(String calName) throws SchedulerException { return sched.getCalendar(schedCtxt, calName); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>, * passing the <code>SchedulingContext</code> associated with this * instance. * </p> */ public String[] getCalendarNames() throws SchedulerException { return sched.getCalendarNames(schedCtxt); } /////////////////////////////////////////////////////////////////////////// /// /// Listener-related Methods /// /////////////////////////////////////////////////////////////////////////// /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>. * </p> */ public void addGlobalJobListener(JobListener jobListener) { sched.addGlobalJobListener(jobListener); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>. * </p> */ public void addJobListener(JobListener jobListener) { sched.addJobListener(jobListener); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>. * </p> * @deprecated Use <code>{@link #removeGlobalJobListener(String)}</code> */ public boolean removeGlobalJobListener(JobListener jobListener) { return sched.removeGlobalJobListener( (jobListener == null) ? null : jobListener.getName()); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>. * </p> */ public boolean removeGlobalJobListener(String name) { return sched.removeGlobalJobListener(name); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>. * </p> */ public boolean removeJobListener(String name) { return sched.removeJobListener(name); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>. * </p> */ public List getGlobalJobListeners() { return sched.getGlobalJobListeners(); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>. * </p> */ public Set getJobListenerNames() { return sched.getJobListenerNames(); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>. * </p> */ public JobListener getGlobalJobListener(String name) { return sched.getGlobalJobListener(name); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>. * </p> */ public JobListener getJobListener(String name) { return sched.getJobListener(name); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>. * </p> */ public void addGlobalTriggerListener(TriggerListener triggerListener) { sched.addGlobalTriggerListener(triggerListener); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>. * </p> */ public void addTriggerListener(TriggerListener triggerListener) { sched.addTriggerListener(triggerListener); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>. * </p> * * @deprecated Use <code>{@link #removeGlobalTriggerListener(String)}</code> */ public boolean removeGlobalTriggerListener(TriggerListener triggerListener) { return sched.removeGlobalTriggerListener( (triggerListener == null) ? null : triggerListener.getName()); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>. * </p> */ public boolean removeGlobalTriggerListener(String name) { return sched.removeGlobalTriggerListener(name); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>. * </p> */ public boolean removeTriggerListener(String name) { return sched.removeTriggerListener(name); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>. * </p> */ public List getGlobalTriggerListeners() { return sched.getGlobalTriggerListeners(); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>. * </p> */ public Set getTriggerListenerNames() { return sched.getTriggerListenerNames(); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>. * </p> */ public TriggerListener getGlobalTriggerListener(String name) { return sched.getGlobalTriggerListener(name); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>. * </p> */ public TriggerListener getTriggerListener(String name) { return sched.getTriggerListener(name); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>. * </p> */ public void addSchedulerListener(SchedulerListener schedulerListener) { sched.addSchedulerListener(schedulerListener); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>. * </p> */ public boolean removeSchedulerListener(SchedulerListener schedulerListener) { return sched.removeSchedulerListener(schedulerListener); } /** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>. * </p> */ public List getSchedulerListeners() { return sched.getSchedulerListeners(); } public boolean interrupt(String jobName, String groupName) throws UnableToInterruptJobException { return sched.interrupt(schedCtxt, jobName, groupName); } /** * @see org.quartz.Scheduler#setJobFactory(org.quartz.spi.JobFactory) */ public void setJobFactory(JobFactory factory) throws SchedulerException { sched.setJobFactory(factory); } }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -