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 -
Method Summary
Modifier and TypeMethodDescriptionvoidclearAlarm(String alarmName, String additionalText, String source) This method is called to clear the raised alarm with the specified alarm name.This method is called to retrieve the list of the alarm objects to be cleared.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
-
Constructor Details
-
NodeReconciliationAlarm
public NodeReconciliationAlarm()
-
-
Method Details
-
setRaiseAlarmObject
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
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
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
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
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
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
-