Uses of Class
org.knowm.sundial.exceptions.SundialSchedulerException
-
Uses of SundialSchedulerException in org.knowm.sundial
Modifier and TypeMethodDescriptionstatic void
SundialJobScheduler.addCronTrigger
(String triggerName, String jobName, String cronExpression) static void
SundialJobScheduler.addCronTrigger
(String triggerName, String jobName, String cronExpression, Date startTime, Date endTime) static void
Adds a Job to the scheduler.static void
SundialJobScheduler.addJob
(String jobName, Class<? extends Job> jobClass, Map<String, Object> params, boolean isConcurrencyAllowed) Adds a Job to the scheduler.static void
Adds a Job to the scheduler.static void
SundialJobScheduler.addJob
(String jobName, String jobClassName, Map<String, Object> params, boolean isConcurrencyAllowed) Adds a Job to the scheduler.static void
SundialJobScheduler.addSimpleTrigger
(String triggerName, String jobName, int repeatCount, long repeatInterval) static void
SundialJobScheduler.addSimpleTrigger
(String triggerName, String jobName, int repeatCount, long repeatInterval, Date startTime, Date endTime) static Scheduler
SundialJobScheduler.createScheduler
(int threadPoolSize, String annotatedJobsPackageName) Creates the Sundial Schedulerstatic Scheduler
SundialJobScheduler.createScheduler
(SchedulerFactory schedulerFactory) Creates the Sundial SchedulerSundialJobScheduler.getAllJobNames()
Generates an alphabetically sorted List of all Job names in the DEFAULT job groupSundialJobScheduler.getAllJobsAndTriggers()
Generates a Map of all Job names with corresponding Triggersstatic boolean
SundialJobScheduler.isJobRunning
(String jobName) static void
Removes a Job matching the given Job Namestatic void
SundialJobScheduler.removeTrigger
(String triggerName) Removes a Trigger matching the the given Trigger Namestatic void
SundialJobScheduler.shutdown()
Halts the Scheduler's firing of Triggers, and cleans up all resources associated with the Scheduler.static void
Starts a Job matching the given Job Namestatic void
Starts a Job matching the the given Job Name found in jobs.xml or jobs manually added.static void
SundialJobScheduler.startScheduler()
Starts the Sundial Schedulerstatic void
SundialJobScheduler.startScheduler
(int threadPoolSize) Starts the Sundial Schedulerstatic void
SundialJobScheduler.startScheduler
(int threadPoolSize, String annotatedJobsPackageName) Starts the Sundial Schedulerstatic void
SundialJobScheduler.startScheduler
(String annotatedJobsPackageName) Starts the Sundial Schedulerstatic void
Triggers a Job interrupt on all Jobs matching the given Job Name.static void
Triggers a Job interrupt on all Jobs matching the given Job Name, key and (String) value.