org.ow2.clif.supervisor.lib
Class AlarmObservation
java.lang.Object
org.ow2.clif.supervisor.lib.AlarmObservation
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable
public class AlarmObservation
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Comparable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
COMPARE_TIME
public static final int COMPARE_TIME
- See Also:
- Constant Field Values
COMPARE_ID
public static final int COMPARE_ID
- See Also:
- Constant Field Values
COMPARE_SEVERITY
public static final int COMPARE_SEVERITY
- See Also:
- Constant Field Values
COMPARE_MESSAGE
public static final int COMPARE_MESSAGE
- See Also:
- Constant Field Values
AlarmObservation
public AlarmObservation(java.lang.String bladeId,
AlarmEvent alarm)
getBladeId
public java.lang.String getBladeId()
getAlarm
public AlarmEvent getAlarm()
getDate
public long getDate()
getSeverity
public int getSeverity()
getMessage
public java.lang.String getMessage()
compareBy
public void compareBy(int comparator)
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object