Class Reportd
- java.lang.Object
-
- org.opennms.netmgt.reporting.service.Reportd
-
- All Implemented Interfaces:
SpringServiceDaemon,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.InitializingBean
public class Reportd extends Object implements SpringServiceDaemon
Reportd class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Constructor Summary
Constructors Constructor Description Reportd()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()afterPropertiesSetvoiddestroy()destroyEventForwardergetEventForwarder()getEventForwarderReportdConfigurationDaogetReportdConfigurationDao()getReportdConfigurationDaoReportDeliveryServicegetReportDeliveryService()getReportDeliveryServiceReportSchedulergetReportScheduler()getReportSchedulerReportServicegetReportService()getReportServicevoidhandleReloadConfigEvent(IEvent e)handleReloadConfigEventvoidhandleRunReportEvent(IEvent e)handleRunReportEventvoidrunReport(String reportName)runReportvoidrunReport(Report report)runReportvoidsetEventForwarder(EventForwarder eventForwarder)setEventForwardervoidsetReportdConfigurationDao(ReportdConfigurationDao reportConfigurationDao)setReportdConfigurationDaovoidsetReportDeliveryService(ReportDeliveryService reportDeliveryService)setReportDeliveryServicevoidsetReportScheduler(ReportScheduler reportScheduler)setReportSchedulervoidsetReportService(ReportService reportService)setReportServicevoidstart()start
-
-
-
Field Detail
-
NAME
public static final String NAME
ConstantNAME="Reportd"- See Also:
- Constant Field Values
-
-
Method Detail
-
start
public void start() throws Exceptionstart
- Specified by:
startin interfaceSpringServiceDaemon- Throws:
Exception- if any.
-
destroy
public void destroy() throws Exceptiondestroy
- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean- Throws:
Exception
-
afterPropertiesSet
public void afterPropertiesSet() throws ExceptionafterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception- if any.
-
runReport
public void runReport(String reportName)
runReport
- Parameters:
reportName- aStringobject.
-
handleRunReportEvent
public void handleRunReportEvent(IEvent e)
handleRunReportEvent
- Parameters:
e- aIEventobject.
-
handleReloadConfigEvent
public void handleReloadConfigEvent(IEvent e)
handleReloadConfigEvent
- Parameters:
e- aIEventobject.
-
setEventForwarder
public void setEventForwarder(EventForwarder eventForwarder)
setEventForwarder
- Parameters:
eventForwarder- aEventForwarderobject.
-
getEventForwarder
public EventForwarder getEventForwarder()
getEventForwarder
- Returns:
- a
EventForwarderobject.
-
setReportScheduler
public void setReportScheduler(ReportScheduler reportScheduler)
setReportScheduler
- Parameters:
reportScheduler- aReportSchedulerobject.
-
getReportScheduler
public ReportScheduler getReportScheduler()
getReportScheduler
- Returns:
- a
ReportSchedulerobject.
-
getReportService
public ReportService getReportService()
getReportService
- Returns:
- a
ReportServiceobject.
-
setReportService
public void setReportService(ReportService reportService)
setReportService
- Parameters:
reportService- aReportServiceobject.
-
getReportDeliveryService
public ReportDeliveryService getReportDeliveryService()
getReportDeliveryService
- Returns:
- a
ReportDeliveryServiceobject.
-
setReportDeliveryService
public void setReportDeliveryService(ReportDeliveryService reportDeliveryService)
setReportDeliveryService
- Parameters:
reportDeliveryService- aReportDeliveryServiceobject.
-
getReportdConfigurationDao
public ReportdConfigurationDao getReportdConfigurationDao()
getReportdConfigurationDao
- Returns:
- a
ReportdConfigurationDaoobject.
-
setReportdConfigurationDao
public void setReportdConfigurationDao(ReportdConfigurationDao reportConfigurationDao)
setReportdConfigurationDao
- Parameters:
reportConfigurationDao- aReportdConfigurationDaoobject.
-
-