org.opennms.systemreport.opennms
Class OpenNMSReportPlugin

java.lang.Object
  extended by org.opennms.systemreport.AbstractSystemReportPlugin
      extended by org.opennms.systemreport.opennms.OpenNMSReportPlugin
All Implemented Interfaces:
Comparable<SystemReportPlugin>, SystemReportPlugin

public class OpenNMSReportPlugin
extends AbstractSystemReportPlugin


Field Summary
 AlarmDao m_alarmDao
           
 EventDao m_eventDao
           
 IpInterfaceDao m_ipInterfaceDao
           
 NodeDao m_nodeDao
           
 SnmpInterfaceDao m_snmpInterfaceDao
           
 
Fields inherited from class org.opennms.systemreport.AbstractSystemReportPlugin
MAX_PROCESS_WAIT
 
Constructor Summary
OpenNMSReportPlugin()
           
 
Method Summary
 String getDescription()
          Get a short description of the plugin's operation.
 TreeMap<String,org.springframework.core.io.Resource> getEntries()
          Get a map of key/value pairs of data exposed by the plugin.
 String getName()
          Get the name of this report plugin.
 int getPriority()
          Get the priority of this plugin.
 
Methods inherited from class org.opennms.systemreport.AbstractSystemReportPlugin
addGetters, compareTo, createTemporaryFileFromString, findBinary, getBean, getBean, getBeans, getOpenNMSProcesses, getResource, getResourceFromProperty, slurp, slurpCommand, slurpOutput, splitMultilineString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_nodeDao

public NodeDao m_nodeDao

m_ipInterfaceDao

public IpInterfaceDao m_ipInterfaceDao

m_snmpInterfaceDao

public SnmpInterfaceDao m_snmpInterfaceDao

m_eventDao

public EventDao m_eventDao

m_alarmDao

public AlarmDao m_alarmDao
Constructor Detail

OpenNMSReportPlugin

public OpenNMSReportPlugin()
Method Detail

getName

public String getName()
Description copied from interface: SystemReportPlugin
Get the name of this report plugin.

Returns:
the name

getDescription

public String getDescription()
Description copied from interface: SystemReportPlugin
Get a short description of the plugin's operation.

Returns:
the description

getPriority

public int getPriority()
Description copied from interface: SystemReportPlugin
Get the priority of this plugin. This will be used to sort the various plugins' output when creating an aggregate report. 1-10: system-level plugins 11-50: related to core system functionality (eg, events, alarms, notifications) 51-98: related to non-essential system functionality (eg, UI, reporting) 99: unknown priority

Specified by:
getPriority in interface SystemReportPlugin
Overrides:
getPriority in class AbstractSystemReportPlugin
Returns:
the priority, from 1 to 99

getEntries

public TreeMap<String,org.springframework.core.io.Resource> getEntries()
Description copied from interface: SystemReportPlugin
Get a map of key/value pairs of data exposed by the plugin.

Specified by:
getEntries in interface SystemReportPlugin
Overrides:
getEntries in class AbstractSystemReportPlugin
Returns:
the plugin's data


Copyright © 2011. All Rights Reserved.