Class DataPathAlarm
- java.lang.Object
-
- javax.management.NotificationBroadcasterSupport
-
- org.opendaylight.genius.itm.monitoring.DataPathAlarm
-
- All Implemented Interfaces:
javax.management.NotificationBroadcaster
,javax.management.NotificationEmitter
,DataPathAlarmMBean
public class DataPathAlarm extends javax.management.NotificationBroadcasterSupport implements DataPathAlarmMBean
Implementation of the DataPath Alarm MBean. It can basically allow others to rise and clear alarms occurred on the Data Path.- Author:
- Ericsson India Global Services Pvt Ltd. and others
-
-
Constructor Summary
Constructors Constructor Description DataPathAlarm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearAlarm(java.lang.String alarmName, java.lang.String additionalText, java.lang.String source)
java.util.List<java.lang.String>
getClearAlarmObject()
java.util.List<java.lang.String>
getRaiseAlarmObject()
void
raiseAlarm(java.lang.String alarmName, java.lang.String additionalText, java.lang.String source)
void
setClearAlarmObject(java.util.List<java.lang.String> clearAlarmObject)
void
setRaiseAlarmObject(java.util.List<java.lang.String> raiseAlarmObject)
-
-
-
Method Detail
-
setRaiseAlarmObject
public void setRaiseAlarmObject(java.util.List<java.lang.String> raiseAlarmObject)
- Specified by:
setRaiseAlarmObject
in interfaceDataPathAlarmMBean
-
getRaiseAlarmObject
public java.util.List<java.lang.String> getRaiseAlarmObject()
- Specified by:
getRaiseAlarmObject
in interfaceDataPathAlarmMBean
-
setClearAlarmObject
public void setClearAlarmObject(java.util.List<java.lang.String> clearAlarmObject)
- Specified by:
setClearAlarmObject
in interfaceDataPathAlarmMBean
-
getClearAlarmObject
public java.util.List<java.lang.String> getClearAlarmObject()
- Specified by:
getClearAlarmObject
in interfaceDataPathAlarmMBean
-
raiseAlarm
public void raiseAlarm(java.lang.String alarmName, java.lang.String additionalText, java.lang.String source)
- Specified by:
raiseAlarm
in interfaceDataPathAlarmMBean
-
clearAlarm
public void clearAlarm(java.lang.String alarmName, java.lang.String additionalText, java.lang.String source)
- Specified by:
clearAlarm
in interfaceDataPathAlarmMBean
-
-