|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QuartzCronManager
This is the interface defintion of the manager of QuartzCronInfo and QuartzCronParameterInfo entities.
Field Summary | |
---|---|
static java.lang.String |
JOB_ENTITY
Constant allowing to identify the entity object to whom the job applies. |
Method Summary | |
---|---|
QuartzCronInfo |
getQuartzCron(java.lang.String name)
Retrieve a QuartzCronInfo instance using its name. |
java.util.List |
getQuartzCronInfos()
Retrieve all QuartzCronInfo instances. |
void |
removeQuartzCronInfo(QuartzCronInfo info)
Remove a Quartz Cron infos from datastore. |
void |
saveQuartzCronInfo(QuartzCronInfo info)
Save a QuartzCronInfo within datastore. |
void |
scheduleJobs()
Start scheduling of all the already saved Quartz jobs. |
void |
unscheduleJobs()
Stop the scheduling of all the registered Quartz jobs. |
Field Detail |
---|
static final java.lang.String JOB_ENTITY
Method Detail |
---|
void saveQuartzCronInfo(QuartzCronInfo info) throws DuplicateEntityException, InfrastructureException
info
- The QuartzCronInfo instance to save.
DuplicateEntityException
- if another consumer with same name already exists.
InfrastructureException
- if wrapped Quartz scheduler cannot schedule the jobvoid removeQuartzCronInfo(QuartzCronInfo info)
info
- The info on a Quartz cron to removeQuartzCronInfo getQuartzCron(java.lang.String name)
name
- The QuartzCronInfo name to retrieve.
java.util.List getQuartzCronInfos()
void scheduleJobs() throws InfrastructureException
InfrastructureException
- if wrapped Quartz scheduler cannot schedule the jobsvoid unscheduleJobs()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |