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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clearAlarm
(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.void
raiseAlarm
(String alarmName, String additionalText, String source) This method is called to raise the alarm with the specified alarm name.void
setClearAlarmObject
(List<String> clearAlarmObject) This method is called to set the list of alarm objects to be cleared.void
setRaiseAlarmObject
(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:NodeReconciliationAlarmMBean
This method is called to set the list of raiseAlarmObjets. This includes the alarm objects which are to be raised- Specified by:
setRaiseAlarmObject
in interfaceNodeReconciliationAlarmMBean
- Parameters:
raiseAlarmObject
- holds the list of alarm objects
-
getRaiseAlarmObject
Description copied from interface:NodeReconciliationAlarmMBean
This method is called to retrieve the list of alarm objects which are to be raised.- Specified by:
getRaiseAlarmObject
in interfaceNodeReconciliationAlarmMBean
- Returns:
- List of string containing the alarm objects
-
setClearAlarmObject
Description copied from interface:NodeReconciliationAlarmMBean
This method is called to set the list of alarm objects to be cleared.- Specified by:
setClearAlarmObject
in interfaceNodeReconciliationAlarmMBean
- Parameters:
clearAlarmObject
- maintains the list of clearable alarm objects
-
getClearAlarmObject
Description copied from interface:NodeReconciliationAlarmMBean
This method is called to retrieve the list of the alarm objects to be cleared.- Specified by:
getClearAlarmObject
in interfaceNodeReconciliationAlarmMBean
- Returns:
- List of clearable alarm objects
-
raiseAlarm
Description copied from interface:NodeReconciliationAlarmMBean
This method is called to raise the alarm with the specified alarm name.- Specified by:
raiseAlarm
in interfaceNodeReconciliationAlarmMBean
- Parameters:
alarmName
- name of the alarm to be raisedadditionalText
- description of alarm eventsource
- source of alarm
-
clearAlarm
Description copied from interface:NodeReconciliationAlarmMBean
This method is called to clear the raised alarm with the specified alarm name.- Specified by:
clearAlarm
in interfaceNodeReconciliationAlarmMBean
- Parameters:
alarmName
- name of the alarm to be clearedadditionalText
- description of alarm eventsource
- source of alarm
-