Package org.opennms.web.svclayer.support
Class DefaultSchedulerService
- java.lang.Object
-
- org.opennms.web.svclayer.support.DefaultSchedulerService
-
- All Implemented Interfaces:
SchedulerService
,org.springframework.beans.factory.InitializingBean
public class DefaultSchedulerService extends java.lang.Object implements org.springframework.beans.factory.InitializingBean, SchedulerService
DefaultSchedulerService class.
- Since:
- 1.8.1
- Version:
- $Id: $
- Author:
- ranger
-
-
Constructor Summary
Constructors Constructor Description DefaultSchedulerService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCronTrigger(ScheduleConfig scheduleConfig)
void
afterPropertiesSet()
void
execute(DeliveryConfig deliveryConfig)
java.lang.Boolean
exists(java.lang.String triggerName)
java.util.List<TriggerDescription>
getTriggerDescriptions()
void
removeTrigger(java.lang.String triggerName)
void
removeTriggers(java.lang.String[] triggerNames)
void
setJobDetail(org.quartz.JobDetail reportJob)
void
setScheduler(org.quartz.Scheduler scheduler)
void
setTriggerGroup(java.lang.String triggerGroup)
void
updateCronTrigger(java.lang.String cronTrigger, ScheduleConfig scheduleConfig)
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
-
getTriggerDescriptions
public java.util.List<TriggerDescription> getTriggerDescriptions()
- Specified by:
getTriggerDescriptions
in interfaceSchedulerService
-
exists
public java.lang.Boolean exists(java.lang.String triggerName)
- Specified by:
exists
in interfaceSchedulerService
-
removeTrigger
public void removeTrigger(java.lang.String triggerName)
- Specified by:
removeTrigger
in interfaceSchedulerService
-
removeTriggers
public void removeTriggers(java.lang.String[] triggerNames)
- Specified by:
removeTriggers
in interfaceSchedulerService
-
updateCronTrigger
public void updateCronTrigger(java.lang.String cronTrigger, ScheduleConfig scheduleConfig)
- Specified by:
updateCronTrigger
in interfaceSchedulerService
-
addCronTrigger
public void addCronTrigger(ScheduleConfig scheduleConfig)
- Specified by:
addCronTrigger
in interfaceSchedulerService
-
execute
public void execute(DeliveryConfig deliveryConfig)
- Specified by:
execute
in interfaceSchedulerService
-
setScheduler
public void setScheduler(org.quartz.Scheduler scheduler)
-
setJobDetail
public void setJobDetail(org.quartz.JobDetail reportJob)
-
setTriggerGroup
public void setTriggerGroup(java.lang.String triggerGroup)
-
-