BEAST
|
Public Member Functions | |
int | register (String cron, String jobName) |
Registers a job. | |
void | reregister (int id, String expression, String name) |
Reregisters a job. | |
void | unregister (int id) |
Unregisters the specified job. | |
List< CronEntry > | getSchedule () |
List< CronEntry > | getSchedule (String job) |
Returns the schedule for the specified job. | |
CronEntry | getEntry (int id) |
Returns the entry for the specified id. | |
CronEntry eu.baltrad.beast.scheduler.IBeastScheduler.getEntry | ( | int | id | ) |
Returns the entry for the specified id.
id | the id |
Implemented in eu.baltrad.beast.scheduler.BeastScheduler.
List< CronEntry > eu.baltrad.beast.scheduler.IBeastScheduler.getSchedule | ( | ) |
Implemented in eu.baltrad.beast.scheduler.BeastScheduler.
List< CronEntry > eu.baltrad.beast.scheduler.IBeastScheduler.getSchedule | ( | String | job | ) |
Returns the schedule for the specified job.
job | the job |
Implemented in eu.baltrad.beast.scheduler.BeastScheduler.
int eu.baltrad.beast.scheduler.IBeastScheduler.register | ( | String | cron, |
String | jobName ) |
Registers a job.
cron | - the cron expression |
jobName | - the name of the job to be executed |
Implemented in eu.baltrad.beast.scheduler.BeastScheduler.
void eu.baltrad.beast.scheduler.IBeastScheduler.reregister | ( | int | id, |
String | expression, | ||
String | name ) |
Reregisters a job.
id | the id of the job |
expression | the cron expression |
name | the name of the job to be executed |
Implemented in eu.baltrad.beast.scheduler.BeastScheduler.
void eu.baltrad.beast.scheduler.IBeastScheduler.unregister | ( | int | id | ) |
Unregisters the specified job.
id | the jobid |
Implemented in eu.baltrad.beast.scheduler.BeastScheduler.