Package | Description |
---|---|
edu.ucsb.nceas.metacat.scheduler |
Modifier and Type | Method and Description |
---|---|
ScheduledJobDAO |
ScheduledJobAccess.getJob(java.lang.Long jobId)
Get a job based on it's id
|
ScheduledJobDAO |
ScheduledJobAccess.getJobByName(java.lang.String jobName)
Get a job by it's name
|
protected ScheduledJobDAO |
ScheduledJobAccess.populateDAO(java.sql.ResultSet resultSet)
Populate a job data object with the current row in a resultset
|
Modifier and Type | Method and Description |
---|---|
java.util.HashMap<java.lang.Long,ScheduledJobDAO> |
ScheduledJobAccess.getAllJobs(java.lang.String groupName)
Get all jobs for a given group.
|
java.util.HashMap<java.lang.Long,ScheduledJobDAO> |
ScheduledJobAccess.getJobsWithParameter(java.lang.String groupName,
java.lang.String paramName,
java.lang.String paramValue)
Get all jobs that have a given parameter with a given value
|
Modifier and Type | Method and Description |
---|---|
void |
ScheduledJobAccess.createJob(ScheduledJobDAO jobDAO,
java.util.HashMap<java.lang.String,java.lang.String> jobParams)
Create a job in the database
|
java.lang.String |
SchedulerService.deleteJob(ScheduledJobDAO jobDAO)
Remove the job from the scheduler and set the job status to deleted in the database
|
java.lang.String |
SchedulerService.jobToXML(ScheduledJobDAO scheduledJobDAO)
Convert a single job to XML
|
java.lang.String |
SchedulerService.rescheduleJob(ScheduledJobDAO jobDAO,
java.lang.String username,
java.lang.String[] groups)
Reschedule a job.
|
java.lang.String |
SchedulerService.rescheduleJob(ScheduledJobDAO jobDAO,
java.lang.String username,
java.lang.String[] groups,
boolean checkStatus)
Reschedule a job.
|
java.lang.String |
SchedulerService.scheduleJob(ScheduledJobDAO jobDAO,
java.lang.String username,
java.lang.String[] groups)
Schedule a job
|
void |
ScheduledJobAccess.updateJobStatus(ScheduledJobDAO jobDAO)
Update the status of a job in the database
|
Copyright © 2020 Regents of the University of California. All Rights Reserved.