org.opennms.report.availability
Class AvailabilityData
java.lang.Object
org.opennms.report.availability.AvailabilityData
public class AvailabilityData
- extends Object
AvailabilityData collects all the outages for all node/ip/service
combination and stores it appropriately in the m_nodes structure.
- Author:
- Jacinta Remedios , Oculan
|
Method Summary |
void |
fillReport(String categoryName,
Report report,
String format,
String monthFormat,
Date periodEndDate)
|
void |
fillReport(String categoryName,
Report report,
String format,
String monthFormat,
String startMonth,
String startDate,
String startYear)
|
List<Node> |
getNodes()
Returns the nodes. |
TreeMap<Double,List<String>> |
getPercentNode()
Returns percent/node combinations for the last month. |
void |
setAvailabilityDataService(AvailabilityDataService availabilityDataService)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AvailabilityData
public AvailabilityData()
fillReport
public void fillReport(String categoryName,
Report report,
String format,
String monthFormat,
String startMonth,
String startDate,
String startYear)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException,
Exception
- Throws:
IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
Exception
fillReport
public void fillReport(String categoryName,
Report report,
String format,
String monthFormat,
Date periodEndDate)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException,
Exception
- Throws:
IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
Exception
getNodes
public List<Node> getNodes()
- Returns the nodes.
getPercentNode
public TreeMap<Double,List<String>> getPercentNode()
- Returns percent/node combinations for the last month. This is used to
get the last months top 20 offenders
setAvailabilityDataService
public void setAvailabilityDataService(AvailabilityDataService availabilityDataService)
Copyright © 2009. All Rights Reserved.