Class NodeReconciliationAlarm
- java.lang.Object
-
- javax.management.NotificationBroadcasterSupport
-
- org.opendaylight.openflowplugin.applications.southboundcli.alarm.NodeReconciliationAlarm
-
- All Implemented Interfaces:
NotificationBroadcaster,NotificationEmitter,NodeReconciliationAlarmMBean
public class NodeReconciliationAlarm extends NotificationBroadcasterSupport implements NodeReconciliationAlarmMBean
-
-
Constructor Summary
Constructors Constructor Description NodeReconciliationAlarm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearAlarm(String alarmName, String additionalText, String source)This method is called to clear the raised alarm with the specified alarm name.List<String>getClearAlarmObject()This method is called to retrieve the list of the alarm objects to be cleared.List<String>getRaiseAlarmObject()This method is called to retrieve the list of alarm objects which are to be raised.voidraiseAlarm(String alarmName, String additionalText, String source)This method is called to raise the alarm with the specified alarm name.voidsetClearAlarmObject(List<String> clearAlarmObject)This method is called to set the list of alarm objects to be cleared.voidsetRaiseAlarmObject(List<String> raiseAlarmObject)This method is called to set the list of raiseAlarmObjets.-
Methods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
-
-
-
-
Method Detail
-
setRaiseAlarmObject
public void setRaiseAlarmObject(List<String> raiseAlarmObject)
Description copied from interface:NodeReconciliationAlarmMBeanThis method is called to set the list of raiseAlarmObjets. This includes the alarm objects which are to be raised- Specified by:
setRaiseAlarmObjectin interfaceNodeReconciliationAlarmMBean- Parameters:
raiseAlarmObject- holds the list of alarm objects
-
getRaiseAlarmObject
public List<String> getRaiseAlarmObject()
Description copied from interface:NodeReconciliationAlarmMBeanThis method is called to retrieve the list of alarm objects which are to be raised.- Specified by:
getRaiseAlarmObjectin interfaceNodeReconciliationAlarmMBean- Returns:
- List of string containing the alarm objects
-
setClearAlarmObject
public void setClearAlarmObject(List<String> clearAlarmObject)
Description copied from interface:NodeReconciliationAlarmMBeanThis method is called to set the list of alarm objects to be cleared.- Specified by:
setClearAlarmObjectin interfaceNodeReconciliationAlarmMBean- Parameters:
clearAlarmObject- maintains the list of clearable alarm objects
-
getClearAlarmObject
public List<String> getClearAlarmObject()
Description copied from interface:NodeReconciliationAlarmMBeanThis method is called to retrieve the list of the alarm objects to be cleared.- Specified by:
getClearAlarmObjectin interfaceNodeReconciliationAlarmMBean- Returns:
- List of clearable alarm objects
-
raiseAlarm
public void raiseAlarm(String alarmName, String additionalText, String source)
Description copied from interface:NodeReconciliationAlarmMBeanThis method is called to raise the alarm with the specified alarm name.- Specified by:
raiseAlarmin interfaceNodeReconciliationAlarmMBean- Parameters:
alarmName- name of the alarm to be raisedadditionalText- description of alarm eventsource- source of alarm
-
clearAlarm
public void clearAlarm(String alarmName, String additionalText, String source)
Description copied from interface:NodeReconciliationAlarmMBeanThis method is called to clear the raised alarm with the specified alarm name.- Specified by:
clearAlarmin interfaceNodeReconciliationAlarmMBean- Parameters:
alarmName- name of the alarm to be clearedadditionalText- description of alarm eventsource- source of alarm
-
-