public interface IScheduleManagement extends ITenantLifecycleComponent
Modifier and Type | Method and Description |
---|---|
ISchedule |
createSchedule(IScheduleCreateRequest request)
Create a new schedule.
|
IScheduledJob |
createScheduledJob(IScheduledJobCreateRequest request)
Create a new scheduled job.
|
ISchedule |
deleteSchedule(java.lang.String token,
boolean force)
Delete an existing schedule.
|
IScheduledJob |
deleteScheduledJob(java.lang.String token,
boolean force)
Delete an existing scheduled job.
|
ISchedule |
getScheduleByToken(java.lang.String token)
Get a schedule by unique token.
|
IScheduledJob |
getScheduledJobByToken(java.lang.String token)
Get a scheduled job by unique token.
|
ISearchResults<IScheduledJob> |
listScheduledJobs(ISearchCriteria criteria)
List scheduled jobs that match the given criteria.
|
ISearchResults<ISchedule> |
listSchedules(ISearchCriteria criteria)
List schedules that match the given criteria.
|
ISchedule |
updateSchedule(java.lang.String token,
IScheduleCreateRequest request)
Update an existing schedule.
|
IScheduledJob |
updateScheduledJob(java.lang.String token,
IScheduledJobCreateRequest request)
Update an existing scheduled job.
|
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
ISchedule createSchedule(IScheduleCreateRequest request) throws SiteWhereException
request
- SiteWhereException
ISchedule updateSchedule(java.lang.String token, IScheduleCreateRequest request) throws SiteWhereException
token
- request
- SiteWhereException
ISchedule getScheduleByToken(java.lang.String token) throws SiteWhereException
token
- SiteWhereException
ISearchResults<ISchedule> listSchedules(ISearchCriteria criteria) throws SiteWhereException
criteria
- SiteWhereException
ISchedule deleteSchedule(java.lang.String token, boolean force) throws SiteWhereException
token
- force
- SiteWhereException
IScheduledJob createScheduledJob(IScheduledJobCreateRequest request) throws SiteWhereException
request
- SiteWhereException
IScheduledJob updateScheduledJob(java.lang.String token, IScheduledJobCreateRequest request) throws SiteWhereException
token
- request
- SiteWhereException
IScheduledJob getScheduledJobByToken(java.lang.String token) throws SiteWhereException
token
- SiteWhereException
ISearchResults<IScheduledJob> listScheduledJobs(ISearchCriteria criteria) throws SiteWhereException
criteria
- SiteWhereException
IScheduledJob deleteScheduledJob(java.lang.String token, boolean force) throws SiteWhereException
token
- force
- SiteWhereException