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 void
afterPropertiesSet()
afterPropertiesSetvoid
destroy()
destroyEventForwarder
getEventForwarder()
getEventForwarderReportdConfigurationDao
getReportdConfigurationDao()
getReportdConfigurationDaoReportDeliveryService
getReportDeliveryService()
getReportDeliveryServiceReportScheduler
getReportScheduler()
getReportSchedulerReportService
getReportService()
getReportServicevoid
handleReloadConfigEvent(IEvent e)
handleReloadConfigEventvoid
handleRunReportEvent(IEvent e)
handleRunReportEventvoid
runReport(String reportName)
runReportvoid
runReport(Report report)
runReportvoid
setEventForwarder(EventForwarder eventForwarder)
setEventForwardervoid
setReportdConfigurationDao(ReportdConfigurationDao reportConfigurationDao)
setReportdConfigurationDaovoid
setReportDeliveryService(ReportDeliveryService reportDeliveryService)
setReportDeliveryServicevoid
setReportScheduler(ReportScheduler reportScheduler)
setReportSchedulervoid
setReportService(ReportService reportService)
setReportServicevoid
start()
start
-
-
-
Field Detail
-
NAME
public static final String NAME
ConstantNAME="Reportd"
- See Also:
- Constant Field Values
-
-
Method Detail
-
start
public void start() throws Exception
start
- Specified by:
start
in interfaceSpringServiceDaemon
- Throws:
Exception
- if any.
-
destroy
public void destroy() throws Exception
destroy
- Specified by:
destroy
in interfaceorg.springframework.beans.factory.DisposableBean
- Throws:
Exception
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
- if any.
-
runReport
public void runReport(String reportName)
runReport
- Parameters:
reportName
- aString
object.
-
handleRunReportEvent
public void handleRunReportEvent(IEvent e)
handleRunReportEvent
- Parameters:
e
- aIEvent
object.
-
handleReloadConfigEvent
public void handleReloadConfigEvent(IEvent e)
handleReloadConfigEvent
- Parameters:
e
- aIEvent
object.
-
setEventForwarder
public void setEventForwarder(EventForwarder eventForwarder)
setEventForwarder
- Parameters:
eventForwarder
- aEventForwarder
object.
-
getEventForwarder
public EventForwarder getEventForwarder()
getEventForwarder
- Returns:
- a
EventForwarder
object.
-
setReportScheduler
public void setReportScheduler(ReportScheduler reportScheduler)
setReportScheduler
- Parameters:
reportScheduler
- aReportScheduler
object.
-
getReportScheduler
public ReportScheduler getReportScheduler()
getReportScheduler
- Returns:
- a
ReportScheduler
object.
-
getReportService
public ReportService getReportService()
getReportService
- Returns:
- a
ReportService
object.
-
setReportService
public void setReportService(ReportService reportService)
setReportService
- Parameters:
reportService
- aReportService
object.
-
getReportDeliveryService
public ReportDeliveryService getReportDeliveryService()
getReportDeliveryService
- Returns:
- a
ReportDeliveryService
object.
-
setReportDeliveryService
public void setReportDeliveryService(ReportDeliveryService reportDeliveryService)
setReportDeliveryService
- Parameters:
reportDeliveryService
- aReportDeliveryService
object.
-
getReportdConfigurationDao
public ReportdConfigurationDao getReportdConfigurationDao()
getReportdConfigurationDao
- Returns:
- a
ReportdConfigurationDao
object.
-
setReportdConfigurationDao
public void setReportdConfigurationDao(ReportdConfigurationDao reportConfigurationDao)
setReportdConfigurationDao
- Parameters:
reportConfigurationDao
- aReportdConfigurationDao
object.
-
-