Public Member Functions | Public Attributes

alma.acs.alarmsanalyzer.document.StaleAlarmsContainer.StaleAlarm Class Reference

List of all members.

Public Member Functions

 StaleAlarm (String id, Timestamp time)
String activationDuration ()
int compareTo (StaleAlarm o)

Public Attributes

final String ID
final Timestamp activationTime

Detailed Description

A stale alarm.

Comparable orders by activation time.

Author:
acaproni

Constructor & Destructor Documentation

alma.acs.alarmsanalyzer.document.StaleAlarmsContainer.StaleAlarm.StaleAlarm ( String  id,
Timestamp  time 
)

Constructor

Parameters:
id The ID of the alarm
time The time when the alarm has been activated

References alma.acs.alarmsanalyzer.document.StaleAlarmsContainer.StaleAlarm.activationTime, and alma.acs.alarmsanalyzer.document.StaleAlarmsContainer.StaleAlarm.ID.


Member Function Documentation

String alma.acs.alarmsanalyzer.document.StaleAlarmsContainer.StaleAlarm.activationDuration (  ) 

Return a string with the time that the alarm is active

Returns:
How long the alarm is active

References alma.acs.alarmsanalyzer.document.StaleAlarmsContainer.StaleAlarm.activationTime.

int alma.acs.alarmsanalyzer.document.StaleAlarmsContainer.StaleAlarm.compareTo ( StaleAlarm  o  ) 

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties