public interface IScheduleManager extends ITenantLifecycleComponent
Modifier and Type | Method and Description |
---|---|
void |
scheduleAdded(ISchedule schedule)
Called when a new schedule has been added.
|
void |
scheduleJob(IScheduledJob job)
Adds a job to the scheduler.
|
void |
scheduleRemoved(ISchedule schedule)
Called when a schedule is removed.
|
void |
unscheduleJob(IScheduledJob job)
Unschedules the given job if scheduled.
|
getTenant, setTenant
canPause, findComponentsOfType, getComponentId, getComponentName, getComponentType, getCreatedDate, getLifecycleComponents, getLifecycleError, getLifecycleStatus, getLogger, initialize, initializeNestedComponent, lifecycleInitialize, lifecyclePause, lifecycleStart, lifecycleStop, lifecycleStop, logState, pause, start, startNestedComponent, stop, stop
void scheduleAdded(ISchedule schedule) throws SiteWhereException
schedule
- SiteWhereException
void scheduleRemoved(ISchedule schedule) throws SiteWhereException
schedule
- SiteWhereException
void scheduleJob(IScheduledJob job) throws SiteWhereException
job
- SiteWhereException
void unscheduleJob(IScheduledJob job) throws SiteWhereException
job
- SiteWhereException