1 package org.apache.turbine.services.schedule; 2 3 18 19 import java.util.List ; 20 21 import org.apache.turbine.services.Service; 22 import org.apache.turbine.util.TurbineException; 23 24 31 public interface ScheduleService 32 extends Service 33 { 34 35 String SERVICE_NAME = "SchedulerService"; 36 37 38 String INTIALLY_ACTIVE = "enabled"; 39 40 41 String LOGGER_NAME = "scheduler"; 42 43 50 JobEntry getJob(int oid) 51 throws TurbineException; 52 53 59 void addJob(JobEntry je) 60 throws TurbineException; 61 62 68 void updateJob(JobEntry je) 69 throws TurbineException; 70 71 77 void removeJob(JobEntry je) 78 throws TurbineException; 79 80 85 List listJobs(); 86 87 92 boolean isEnabled(); 93 94 97 void startScheduler(); 98 99 102 void stopScheduler(); 103 104 } 105 | Popular Tags |