public interface SchedulerService
Modifier and Type | Method and Description |
---|---|
boolean |
hasApplicationStarted()
Checks if the framework has fully started.
|
void |
registerSchedule(Schedule schedule)
Registers a schedule.
|
void |
registerSchedule(Schedule schedule,
Map<String,Serializable> parameters)
Registers a schedule.
|
boolean |
unregisterSchedule(Schedule schedule)
UnRegisters a schedule.
|
boolean |
unregisterSchedule(String scheduleId)
UnRegisters a schedule.
|
void registerSchedule(Schedule schedule)
schedule
- the schedulevoid registerSchedule(Schedule schedule, Map<String,Serializable> parameters)
schedule
- parameters
- boolean unregisterSchedule(String scheduleId)
scheduleId
- the schedule idboolean unregisterSchedule(Schedule schedule)
schedule
- to be unregisteredboolean hasApplicationStarted()
Used to delay job execution until the framework has fully started.
true
if the framework has startedCopyright © 2019 Nuxeo. All rights reserved.