Class UsageStatisticsReporter
- java.lang.Object
-
- org.opennms.features.datachoices.internal.UsageStatisticsReporter
-
- All Implemented Interfaces:
StateManager.StateChangeHandler
public class UsageStatisticsReporter extends Object implements StateManager.StateChangeHandler
-
-
Field Summary
Fields Modifier and Type Field Description static String
USAGE_REPORT
-
Constructor Summary
Constructors Constructor Description UsageStatisticsReporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
UsageStatisticsReportDTO
generateReport()
void
init()
void
onIsEnabledChanged(boolean isEnabled)
void
sendAndSchedule()
void
sendAsync()
void
sendSync()
void
setAlarmDao(AlarmDao alarmDao)
void
setEventDao(EventDao eventDao)
void
setFeaturesService(org.apache.karaf.features.FeaturesService featuresService)
void
setInterval(long interval)
void
setIpInterfaceDao(IpInterfaceDao ipInterfaceDao)
void
setMonitoredServiceDao(MonitoredServiceDao monitoredServiceDao)
void
setMonitoringLocationDao(MonitoringLocationDao monitoringLocationDao)
void
setMonitoringSystemDao(MonitoringSystemDao monitoringSystemDao)
void
setNodeDao(NodeDao nodeDao)
void
setSnmpInterfaceDao(SnmpInterfaceDao snmpInterfaceDao)
void
setStateManager(StateManager stateManager)
void
setUrl(String url)
void
setUseSystemProxy(boolean useSystemProxy)
-
-
-
Field Detail
-
USAGE_REPORT
public static final String USAGE_REPORT
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init()
-
sendAndSchedule
public void sendAndSchedule()
-
onIsEnabledChanged
public void onIsEnabledChanged(boolean isEnabled)
- Specified by:
onIsEnabledChanged
in interfaceStateManager.StateChangeHandler
-
destroy
public void destroy()
-
sendSync
public void sendSync()
-
sendAsync
public void sendAsync()
-
generateReport
public UsageStatisticsReportDTO generateReport()
-
setUrl
public void setUrl(String url)
-
setInterval
public void setInterval(long interval)
-
setStateManager
public void setStateManager(StateManager stateManager)
-
setNodeDao
public void setNodeDao(NodeDao nodeDao)
-
setIpInterfaceDao
public void setIpInterfaceDao(IpInterfaceDao ipInterfaceDao)
-
setSnmpInterfaceDao
public void setSnmpInterfaceDao(SnmpInterfaceDao snmpInterfaceDao)
-
setMonitoredServiceDao
public void setMonitoredServiceDao(MonitoredServiceDao monitoredServiceDao)
-
setEventDao
public void setEventDao(EventDao eventDao)
-
setAlarmDao
public void setAlarmDao(AlarmDao alarmDao)
-
setMonitoringLocationDao
public void setMonitoringLocationDao(MonitoringLocationDao monitoringLocationDao)
-
setMonitoringSystemDao
public void setMonitoringSystemDao(MonitoringSystemDao monitoringSystemDao)
-
setFeaturesService
public void setFeaturesService(org.apache.karaf.features.FeaturesService featuresService)
-
setUseSystemProxy
public void setUseSystemProxy(boolean useSystemProxy)
-
-