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 Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
ReportScheduler class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()afterPropertiesSetvoiddestroy()destroyReportdConfigurationDaogetConfigDao()getConfigDaoorg.quartz.spi.JobFactorygetReportJobFactory()getReportJobFactoryorg.quartz.SchedulergetScheduler()getSchedulervoidrebuildReportSchedule()rebuildReportSchedulevoidsetConfigDao(ReportdConfigurationDao configDao)setConfigDaovoidsetReportJobFactory(org.quartz.spi.JobFactory reportJobFactory)setReportJobFactoryvoidsetScheduler(org.quartz.Scheduler scheduler)setSchedulervoidstart()start
-
-
-
Field Detail
-
JOB_GROUP
protected static final String JOB_GROUP
ConstantJOB_GROUP="Reportd"- See Also:
- Constant Field Values
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws ExceptionafterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception- if any.
-
rebuildReportSchedule
public void rebuildReportSchedule()
rebuildReportSchedule
-
getConfigDao
public ReportdConfigurationDao getConfigDao()
getConfigDao
- Returns:
- a
ReportdConfigurationDaoobject.
-
setConfigDao
public void setConfigDao(ReportdConfigurationDao configDao)
setConfigDao
- Parameters:
configDao- aReportdConfigurationDaoobject.
-
getScheduler
public org.quartz.Scheduler getScheduler()
getScheduler
- Returns:
- a
Schedulerobject.
-
setScheduler
public void setScheduler(org.quartz.Scheduler scheduler)
setScheduler
- Parameters:
scheduler- aSchedulerobject.
-
setReportJobFactory
public void setReportJobFactory(org.quartz.spi.JobFactory reportJobFactory)
setReportJobFactory
- Parameters:
reportJobFactory- aJobFactoryobject.
-
getReportJobFactory
public org.quartz.spi.JobFactory getReportJobFactory()
getReportJobFactory
- Returns:
- a
JobFactoryobject.
-
start
public void start() throws org.quartz.SchedulerExceptionstart
- Throws:
org.quartz.SchedulerException- if any.
-
destroy
public void destroy() throws org.quartz.SchedulerExceptiondestroy
- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean- Throws:
org.quartz.SchedulerException- if any.
-
-