Method Summary |
|
public void | addScheduled(JobDetail job) Adds the given job to the "scheduled" group. |
public void | addUnscheduled(JobDetail job) Adds the given job to the "unscheduled" group. |
public BatchJobStatus | getJob(String groupName, String jobName) Gets a single job based on its name and group. |
public List<String> | getJobStatuses() Returns a list of all possible statuses. |
public List<BatchJobStatus> | getJobs(String groupName) |
public List<BatchJobStatus> | getJobs() Get all jobs known to the scheduler wrapped within a BusinessObject-derived class. |
public Date | getNextStartTime(BatchJobStatus job) Returns the next start time for the given job. |
public Date | getNextStartTime(String groupName, String jobName) Returns the next start time for the given job. |
public List<JobExecutionContext> | getRunningJobs() Returns the list of job currently running within the scheduler. |
public List<String> | getSchedulerGroups() Returns a list of all groups defined in the scheduler. |
public String | getStatus(JobDetail jobDetail) |
public boolean | hasIncompleteJob() This method checks whether any jobs in the SCHEDULED job group are pending or currently scheduled. |
public void | initialize() |
public void | initializeJob(String jobName, Job job) |
public void | interruptJob(String jobName) Requests that the given job be stopped as soon as possble. |
public boolean | isJobRunning(String jobName) Tests whether the referenced job name is running, regardless of group. |
public boolean | isPastScheduleCutoffTime() This method should be used to determine when the daily batch schedule should terminate. |
public void | logScheduleResults() |
public void | processWaitingJobs() |
public void | removeScheduled(String jobName) Removes a job from the scheduled group. |
public void | runJob(String jobName, int startStep, int stopStep, Date startTime, String requestorEmailAddress) Immediately runs the specified job. |
public void | runJob(String jobName, String requestorEmailAddress) Immediately runs the specified job. |
public void | setScheduler(Scheduler scheduler) |
public boolean | shouldNotRun(JobDetail jobDetail) |
public void | updateStatus(JobDetail jobDetail, String jobStatus) |