public class OLEBatchSchedulerServiceImpl extends SchedulerServiceImpl implements OLEBatchSchedulerService
dateTimeService, externalizedJobDescriptors, HARD_DEPENDENCY_CODE, jobListener, jobStatuses, parameterService, scheduler, SOFT_DEPENDENCY_CODE
CANCELLED_JOB_STATUS_CODE, FAILED_JOB_STATUS_CODE, JOB_STATUS_PARAMETER, PENDING_JOB_STATUS_CODE, RUNNING_JOB_STATUS_CODE, SCHEDULE_JOB_NAME, SCHEDULED_GROUP, SCHEDULED_JOB_STATUS_CODE, SUCCEEDED_JOB_STATUS_CODE, UNSCHEDULED_GROUP
Constructor and Description |
---|
OLEBatchSchedulerServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
deleteJob(String jobName) |
void |
initialize() |
void |
initializeJob(String jobName,
Job job) |
void |
initializeJobsForModule(String jobName)
This method loads the jobs with the given jobName - Job name here is the schedule id
the name will always be suffixed with "BATCH_JOB_"
|
void |
initializeTriggersForModule(String jobName,
String cronExpression)
method initializes triggers for the given jobName - Job name here is the schedule id
the name will always be suffixed with "BATCH_JOB_"
|
void |
pauseJob(String jobName) |
void |
rescheduleJob(String jobName,
String cronExp) |
void |
resumeJob(String jobName) |
void |
startJob(String jobName) |
void |
unScheduleOneTimeJob(String jobName,
String jobGroup) |
addJob, addScheduled, addTrigger, addUnscheduled, dropDependenciesNotScheduled, getJob, getJobDependencies, getJobNamesForScheduleJob, getJobs, getJobs, getJobStatuses, getNextStartTime, getNextStartTime, getRunningJobs, getScheduledJobDetail, getSchedulerGroups, getStatus, hasIncompleteJob, initializeJobsForModule, initializeTriggersForModule, interruptJob, isCancelled, isDependencySatisfiedNegatively, isDependencySatisfiedPositively, isFailed, isIncomplete, isJobRunning, isPastScheduleCutoffTime, isPastScheduleCutoffTime, isPending, isScheduled, isSoftDependency, isSucceeded, loadJob, logScheduleResults, processWaitingJobs, reinitializeScheduledJobs, removeScheduled, retrieveJobDescriptor, runJob, runJob, runJob, runStep, scheduleJob, setDateTimeService, setJobListener, setKualiModuleService, setMailService, setParameterService, setScheduler, shouldCancelJob, shouldNotRun, shouldScheduleJob, updateStatus, updateStatus
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addScheduled, addUnscheduled, getJob, getJobs, getJobs, getJobStatuses, getNextStartTime, getNextStartTime, getRunningJobs, getSchedulerGroups, getStatus, hasIncompleteJob, interruptJob, isJobRunning, isPastScheduleCutoffTime, logScheduleResults, processWaitingJobs, reinitializeScheduledJobs, removeScheduled, runJob, runJob, runJob, setScheduler, shouldNotRun, updateStatus
public OLEBatchSchedulerServiceImpl()
public void initialize()
initialize
in interface SchedulerService
initialize
in class SchedulerServiceImpl
SchedulerService.initialize()
public void initializeJob(String jobName, Job job)
initializeJob
in interface SchedulerService
initializeJob
in class SchedulerServiceImpl
SchedulerService.initializeJob(java.lang.String,org.kuali.ole.sys.batch.Job)
public void initializeJobsForModule(String jobName)
initializeJobsForModule
in interface OLEBatchSchedulerService
jobName
- public void initializeTriggersForModule(String jobName, String cronExpression) throws Exception
initializeTriggersForModule
in interface OLEBatchSchedulerService
jobName
- cronExpression
- Exception
public void startJob(String jobName) throws Exception
startJob
in interface OLEBatchSchedulerService
Exception
public void pauseJob(String jobName) throws Exception
pauseJob
in interface OLEBatchSchedulerService
Exception
public void resumeJob(String jobName) throws Exception
resumeJob
in interface OLEBatchSchedulerService
Exception
public void deleteJob(String jobName) throws Exception
deleteJob
in interface OLEBatchSchedulerService
Exception
public void rescheduleJob(String jobName, String cronExp) throws Exception
rescheduleJob
in interface OLEBatchSchedulerService
Exception
public void unScheduleOneTimeJob(String jobName, String jobGroup)
unScheduleOneTimeJob
in interface OLEBatchSchedulerService
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.