org.opennms.reporting.datablock
Class OutageSince

java.lang.Object
  extended by org.opennms.reporting.datablock.OutageSince

public class OutageSince
extends Object

OutageSince holds the temporary storage for data used during availability report generation presented in the report.


Constructor Summary
OutageSince(String nodename, long outTime, long outage)
          Constructor
 
Method Summary
 String getNodeName()
          Returns Node name
 long getOutage()
          Returns Downtime
 long getOutTime()
          Returns Down since
 String toString()
          Returns the string format of this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OutageSince

public OutageSince(String nodename,
                   long outTime,
                   long outage)
Constructor

Parameters:
nodename - Node Name
outTime - Start of Outage
outage - Downtime
Method Detail

getNodeName

public String getNodeName()
Returns Node name

Returns:
a String object.

getOutage

public long getOutage()
Returns Downtime

Returns:
a long.

getOutTime

public long getOutTime()
Returns Down since

Returns:
a long.

toString

public String toString()
Returns the string format of this object

Overrides:
toString in class Object
Returns:
a String object.


Copyright © 2011. All Rights Reserved.