BEAST
eu.baltrad.beast.scheduler.IBeastScheduler Interface Reference
Inheritance diagram for eu.baltrad.beast.scheduler.IBeastScheduler:
eu.baltrad.beast.scheduler.BeastScheduler

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< CronEntrygetSchedule ()
 
List< CronEntrygetSchedule (String job)
 Returns the schedule for the specified job.
 
CronEntry getEntry (int id)
 Returns the entry for the specified id.
 

Detailed Description

Author
Anders Henja

Member Function Documentation

◆ getEntry()

CronEntry eu.baltrad.beast.scheduler.IBeastScheduler.getEntry ( int id)

Returns the entry for the specified id.

Parameters
idthe id
Returns
the entry or null if not found

Implemented in eu.baltrad.beast.scheduler.BeastScheduler.

◆ getSchedule() [1/2]

List< CronEntry > eu.baltrad.beast.scheduler.IBeastScheduler.getSchedule ( )
Returns
the schedule

Implemented in eu.baltrad.beast.scheduler.BeastScheduler.

◆ getSchedule() [2/2]

List< CronEntry > eu.baltrad.beast.scheduler.IBeastScheduler.getSchedule ( String job)

Returns the schedule for the specified job.

Parameters
jobthe job
Returns
the schedule

Implemented in eu.baltrad.beast.scheduler.BeastScheduler.

◆ register()

int eu.baltrad.beast.scheduler.IBeastScheduler.register ( String cron,
String jobName )

Registers a job.

Parameters
cron- the cron expression
jobName- the name of the job to be executed
Returns
the id for this scheduled job

Implemented in eu.baltrad.beast.scheduler.BeastScheduler.

◆ reregister()

void eu.baltrad.beast.scheduler.IBeastScheduler.reregister ( int id,
String expression,
String name )

Reregisters a job.

Parameters
idthe id of the job
expressionthe cron expression
namethe name of the job to be executed

Implemented in eu.baltrad.beast.scheduler.BeastScheduler.

◆ unregister()

void eu.baltrad.beast.scheduler.IBeastScheduler.unregister ( int id)

Unregisters the specified job.

Parameters
idthe jobid

Implemented in eu.baltrad.beast.scheduler.BeastScheduler.


The documentation for this interface was generated from the following file: