Class ReportScheduler
- java.lang.Object
-
- org.opennms.netmgt.reporting.service.ReportScheduler
-
- All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
public class ReportScheduler extends java.lang.Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
ReportScheduler class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
JOB_GROUP
ConstantJOB_GROUP="Reportd"
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
afterPropertiesSetvoid
destroy()
destroyReportdConfigurationDao
getConfigDao()
getConfigDaoorg.quartz.spi.JobFactory
getReportJobFactory()
getReportJobFactoryorg.quartz.Scheduler
getScheduler()
getSchedulervoid
rebuildReportSchedule()
rebuildReportSchedulevoid
setConfigDao(ReportdConfigurationDao configDao)
setConfigDaovoid
setReportJobFactory(org.quartz.spi.JobFactory reportJobFactory)
setReportJobFactoryvoid
setScheduler(org.quartz.Scheduler scheduler)
setSchedulervoid
start()
start
-
-
-
Field Detail
-
JOB_GROUP
protected static final java.lang.String JOB_GROUP
ConstantJOB_GROUP="Reportd"
- See Also:
- Constant Field Values
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
- if any.
-
rebuildReportSchedule
public void rebuildReportSchedule()
rebuildReportSchedule
-
getConfigDao
public ReportdConfigurationDao getConfigDao()
getConfigDao
- Returns:
- a
ReportdConfigurationDao
object.
-
setConfigDao
public void setConfigDao(ReportdConfigurationDao configDao)
setConfigDao
- Parameters:
configDao
- aReportdConfigurationDao
object.
-
getScheduler
public org.quartz.Scheduler getScheduler()
getScheduler
- Returns:
- a
Scheduler
object.
-
setScheduler
public void setScheduler(org.quartz.Scheduler scheduler)
setScheduler
- Parameters:
scheduler
- aScheduler
object.
-
setReportJobFactory
public void setReportJobFactory(org.quartz.spi.JobFactory reportJobFactory)
setReportJobFactory
- Parameters:
reportJobFactory
- aJobFactory
object.
-
getReportJobFactory
public org.quartz.spi.JobFactory getReportJobFactory()
getReportJobFactory
- Returns:
- a
JobFactory
object.
-
start
public void start() throws org.quartz.SchedulerException
start
- Throws:
org.quartz.SchedulerException
- if any.
-
destroy
public void destroy() throws org.quartz.SchedulerException
destroy
- Specified by:
destroy
in interfaceorg.springframework.beans.factory.DisposableBean
- Throws:
org.quartz.SchedulerException
- if any.
-
-