Package com.eka.middleware.scheduling
Class JobScheduler
java.lang.Object
com.eka.middleware.scheduling.JobScheduler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addJob
(String id, String serviceFqn, String cronExpression, String job_name, DataPipeline dataPipeline) static void
deleteJob
(String id, DataPipeline dataPipeline) static void
enableOrDisableScheduler
(String id, String enabled, String serviceFqn, String cronExpression, String job_name, DataPipeline dataPipeline) static void
updateJob
(String id, String cronExpression, DataPipeline dataPipeline)
-
Constructor Details
-
JobScheduler
public JobScheduler()
-
-
Method Details
-
addJob
public static void addJob(String id, String serviceFqn, String cronExpression, String job_name, DataPipeline dataPipeline) throws org.quartz.SchedulerException - Throws:
org.quartz.SchedulerException
-
updateJob
public static void updateJob(String id, String cronExpression, DataPipeline dataPipeline) throws org.quartz.SchedulerException - Throws:
org.quartz.SchedulerException
-
deleteJob
public static void deleteJob(String id, DataPipeline dataPipeline) throws org.quartz.SchedulerException - Throws:
org.quartz.SchedulerException
-
enableOrDisableScheduler
public static void enableOrDisableScheduler(String id, String enabled, String serviceFqn, String cronExpression, String job_name, DataPipeline dataPipeline) throws org.quartz.SchedulerException - Throws:
org.quartz.SchedulerException
-